ES2015 Promise ponyfill
Module exports global Promise object (if available) or pinkie
Promise polyfill.
$ npm install --save pinkie-promise
var Promise = require('pinkie-promise');
new Promise(function (resolve) { resolve('unicorns'); });
//=> Promise { 'unicorns' }
MIT © Vsevolod Strukchinsky
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.