peerlibrary:blob

v0.1.3Published 10 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Blob

Meteor smart package which provides a Blob polyfill. Useful when your code uses Blob, but you are testing Meteor packages on Travis CI which uses PhantomJS which is lacking it.

Adding this package to your Meteor 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(['blob'], 'client');
});

Add a dependency to the package in smart.json file as well:

{
  "packages": {
    "blob": {}
  }
}