linx-simulator2/node_modules/promise/polyfill.js

11 lines
231 B
JavaScript
Raw Normal View History

2019-09-18 08:11:16 +00: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');