summaryrefslogtreecommitdiff
path: root/node_modules/bluebird/js/release/any.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/bluebird/js/release/any.js')
-rw-r--r--node_modules/bluebird/js/release/any.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/node_modules/bluebird/js/release/any.js b/node_modules/bluebird/js/release/any.js
deleted file mode 100644
index 05a6228..0000000
--- a/node_modules/bluebird/js/release/any.js
+++ /dev/null
@@ -1,21 +0,0 @@
-"use strict";
-module.exports = function(Promise) {
-var SomePromiseArray = Promise._SomePromiseArray;
-function any(promises) {
- var ret = new SomePromiseArray(promises);
- var promise = ret.promise();
- ret.setHowMany(1);
- ret.setUnwrap();
- ret.init();
- return promise;
-}
-
-Promise.any = function (promises) {
- return any(promises);
-};
-
-Promise.prototype.any = function () {
- return any(this);
-};
-
-};