Commit Graph
17 Commits
Author SHA1 Message Date
Eli Grey b383e14a92 Removed MSBlobBuilder
IE skipped BlobBuilder and went straight to Blob
2014-05-27 14:51:45 -04:00
Eli Grey a2211f1c89 Fixes #19, #29, and eligrey/FileSaver.js#12 2014-05-27 14:45:45 -04:00
Diego Casorran ea23ec7414 Better Blob assignment from view parameter. 2014-05-25 23:19:25 +02:00
udondan 919b43fa75 Defining Blob as prop of self instead of window 2014-05-19 05:38:56 +02:00
udondan 4c4ca81761 Fixed feature detection in Webkit and global decl.
Fixed #22 and #24 and changed Blob declaration to method of window
object (=global), which makes it work in Meteor environment.

Tested on:

OS X:
 - Opera 11.62
 - Opera 21.0
 - Safari 7.0.3
 - Chrome 35.0
 - Firefox 3.6
 - Firefox 10.0.4
 - Firefox 29.0.1

iOS 7:
 - Safari
 - Opera mini 7.0.5
 - Opera Coast 3.0.1
 - Chrome 30.04

Windows 7:
 - Safari 5.1.7
 - IE 9
2014-05-18 13:52:14 +02:00
Eli Grey 4d085bb2e5 Update release date 2013-12-27 15:25:41 -05:00
Eli Grey 0a8d4ce024 Fixes #13 2013-12-27 15:04:22 -05:00
Eli Grey b5453eee55 Use double quotes instead of single quotes #11 2013-08-28 01:17:30 -04:00
Liu Ji dfdf4ec3af fix detect bug in iOS
iOS returns 'typeof Blob' as 'object' instead of 'function', tested on
iOS 6.
2013-08-28 10:48:18 +08:00
Eli Grey 504b2a26d6 Workaround for #6
Also removing can_apply_typed_arrays stuff since the workaround makes it unused
2013-07-30 11:09:29 -04:00
Eli Grey 107c648d6f Fixes #9 2013-07-23 18:45:19 -04:00
Eli Grey 7246d68f23 Updating date 2013-06-21 15:44:21 -03:00
Eli Grey 6f36e8aab6 Fixes eligrey/FileSaver.js/#12 2013-06-21 11:10:48 -03:00
Martin Raifer 34d22337b3 rewrite Blob when URL object is not present
Opera 12.10 supports Blob, but [doesn't support URL.createObjectURL](http://www.opera.com/docs/specs/presto2.12/apis/#file). As BlobBuilder.js has its own URL.createObjectURL, it cannot work properly when the blob is not a "FakeBlob" (and URL is undefined).

This fixes https://github.com/eligrey/FileSaver.js/issues/10 for example.
2013-04-29 18:17:06 +03:00
Lifof 1afa1b5cef Fix for Safari 2013-03-17 22:26:20 +00:00
Eli Grey 8840b82e38 Fixed check for native Blob() support 2013-01-23 19:48:05 -05:00
Devin Samarin 0629aa7908 Create shim for new Blob API 2013-01-14 11:46:22 -08:00