source:
frontend/node_modules/promise/polyfill.js
| Last change on this file was 9af201e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 231 bytes | |
| Line | |
|---|---|
| 1 | // not "use strict" so we can declare global "Promise" |
| 2 | |
| 3 | var asap = require('asap'); |
| 4 | |
| 5 | if (typeof Promise === 'undefined') { |
| 6 | Promise = require('./lib/core.js') |
| 7 | require('./lib/es6-extensions.js') |
| 8 | } |
| 9 | |
| 10 | require('./polyfill-done.js'); |
Note:
See TracBrowser
for help on using the repository browser.
