Hacked By AnonymousFox

Current Path : /proc/thread-self/root/lib/node_modules/npm/node_modules/bluebird/js/release/
Upload File :
Current File : //proc/thread-self/root/lib/node_modules/npm/node_modules/bluebird/js/release/any.js

"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);
};

};

Hacked By AnonymousFox1.0, Coded By AnonymousFox