--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
13
node_modules/when/es6-shim/Promise.browserify-es6.js
generated
vendored
Normal file
13
node_modules/when/es6-shim/Promise.browserify-es6.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/** @license MIT License (c) copyright 2010-2014 original author or authors */
|
||||
/** @author Brian Cavalier */
|
||||
/** @author John Hann */
|
||||
|
||||
/**
|
||||
* ES6 global Promise shim
|
||||
*/
|
||||
var unhandledRejections = require('../lib/decorators/unhandledRejection');
|
||||
var PromiseConstructor = unhandledRejections(require('../lib/Promise'));
|
||||
|
||||
module.exports = typeof global != 'undefined' ? (global.Promise = PromiseConstructor)
|
||||
: typeof self != 'undefined' ? (self.Promise = PromiseConstructor)
|
||||
: PromiseConstructor;
|
||||
Loading…
Reference in a new issue