mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
parent
ce351e69b1
commit
d63a50c3c3
1 changed files with 2 additions and 2 deletions
|
|
@ -480,8 +480,8 @@ function qFactory(nextTick, exceptionHandler) {
|
|||
* @param {Array.<Promise>|Object.<Promise>} promises An array or hash of promises.
|
||||
* @returns {Promise} Returns a single promise that will be resolved with an array/hash of values,
|
||||
* each value corresponding to the promise at the same index/key in the `promises` array/hash. If any of
|
||||
* the promises is resolved with a rejection, this resulting promise will be resolved with the
|
||||
* same rejection.
|
||||
* the promises is resolved with a rejection, this resulting promise will be rejected with the
|
||||
* same rejection value.
|
||||
*/
|
||||
function all(promises) {
|
||||
var deferred = defer(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue