Configring node js.
This commit is contained in:
18
node_modules/es6-promise/lib/es6-promise.umd.js
generated
vendored
Normal file
18
node_modules/es6-promise/lib/es6-promise.umd.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import Promise from './es6-promise/promise';
|
||||
import polyfill from './es6-promise/polyfill';
|
||||
|
||||
var ES6Promise = {
|
||||
'Promise': Promise,
|
||||
'polyfill': polyfill
|
||||
};
|
||||
|
||||
/* global define:true module:true window: true */
|
||||
if (typeof define === 'function' && define['amd']) {
|
||||
define(function() { return ES6Promise; });
|
||||
} else if (typeof module !== 'undefined' && module['exports']) {
|
||||
module['exports'] = ES6Promise;
|
||||
} else if (typeof this !== 'undefined') {
|
||||
this['ES6Promise'] = ES6Promise;
|
||||
}
|
||||
|
||||
polyfill();
|
||||
Reference in New Issue
Block a user