aboutsummaryrefslogtreecommitdiff
path: root/node_modules/promise/polyfill.js
blob: db099f8eec545c0d03170b672f39aafc44494770 (plain)
1
2
3
4
5
6
7
8
9
10
// not "use strict" so we can declare global "Promise"

var asap = require('asap');

if (typeof Promise === 'undefined') {
  Promise = require('./lib/core.js')
  require('./lib/es6-extensions.js')
}

require('./polyfill-done.js');