2023-10-03 11:14:36 +08:00
|
|
|
// 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');
|