mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-24 02:10:24 +00:00
parent
f102fb75b6
commit
ae2fd55575
1 changed files with 2 additions and 2 deletions
|
|
@ -377,8 +377,8 @@ function qFactory(nextTick, exceptionHandler) {
|
|||
* @param {Array.<Promise>} promises An array of promises.
|
||||
* @returns {Promise} Returns a single promise that will be resolved with an array of values,
|
||||
* each value corresponding to the promise at the same index in the `promises` array. 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