eligrey / Blob.js

An HTML5 Blob implementation
Other
1.15k stars 605 forks source link

Fixed feature detection in Webkit and global decl. #26

Closed udondan closed 10 years ago

udondan commented 10 years ago

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:

iOS 7:

Windows 7:

eligrey commented 10 years ago

Thanks for contributing :smile:

eligrey commented 10 years ago

Does self work in place of window for you in Meteor? If you've seen my code before, you'll see that I prefer self as it also works in workers.

udondan commented 10 years ago

Thanks for merging :). And yes, self works in Meteor, which I didn't expect. Just tested it.