This is a polyfill of ES6 Promises, which is basically a remapping of rsvp.js.
For API details and how to use promises, see the JavaScript Promises HTML5Rocks article.
- promise
- promise-min (~2k gzipped)
This package uses the grunt-microlib package for building.
Custom tasks:
grunt test- Run Mocha tests through Node and PhantomJS.grunt test:phantom- Run Mocha tests through PhantomJS (browser build).grunt test:node- Run Mocha tests through Node (CommonJS build).
TODO: docs will output wrong