Blame view

node_modules/promise/polyfill.js 231 Bytes
ce4c83ff   wxy   初始提交
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');