https://github.com/peerlibrary/meteor-blob
Polyfill for Blob to use in tests in PhantomJS
https://github.com/peerlibrary/meteor-blob
Last synced: 1 day ago
JSON representation
Polyfill for Blob to use in tests in PhantomJS
- Host: GitHub
- URL: https://github.com/peerlibrary/meteor-blob
- Owner: peerlibrary
- License: bsd-3-clause
- Created: 2014-07-17T09:12:48.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-01-17T16:52:54.000Z (over 11 years ago)
- Last Synced: 2025-01-03T10:45:18.579Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://atmospherejs.com/peerlibrary/blob
- Size: 191 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Blob
====
Meteor smart package which provides a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) polyfill.
Useful when your code uses `Blob`, but you are testing [Meteor packages on Travis CI](https://github.com/arunoda/travis-ci-meteor-packages/)
which uses PhantomJS which is lacking it.
Adding this package to your [Meteor](http://www.meteor.com/) application polyfills `Blob` in the global scope.
Client side only.
Installation
------------
Add it as a dependency to tests of your package which uses `Blob`. In `Package.on_test` section of your `package.js`
file add it to `api.use`. For example:
```
Package.on_test(function (api) {
api.use(['peerlibrary:blob@0.1.4'], 'client');
});
```