aboutsummaryrefslogtreecommitdiff
path: root/node_modules/when/es6-shim/Promise.browserify-es6.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/when/es6-shim/Promise.browserify-es6.js')
-rw-r--r--node_modules/when/es6-shim/Promise.browserify-es6.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/node_modules/when/es6-shim/Promise.browserify-es6.js b/node_modules/when/es6-shim/Promise.browserify-es6.js
deleted file mode 100644
index 751208fe9..000000000
--- a/node_modules/when/es6-shim/Promise.browserify-es6.js
+++ /dev/null
@@ -1,13 +0,0 @@
-/** @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;