mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-14 17:53:11 +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.
|
* @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,
|
* @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
|
* 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
|
* the promises is resolved with a rejection, this resulting promise will be rejected with the
|
||||||
* same rejection.
|
* same rejection value.
|
||||||
*/
|
*/
|
||||||
function all(promises) {
|
function all(promises) {
|
||||||
var deferred = defer(),
|
var deferred = defer(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue