setup-php/node_modules/es6-promise/lib/es6-promise.js
2019-09-20 21:54:46 +05:30

8 lines
193 B
JavaScript

import Promise from './es6-promise/promise';
import polyfill from './es6-promise/polyfill';
// Strange compat..
Promise.polyfill = polyfill;
Promise.Promise = Promise;
export default Promise;