From d63a50c3c306377b3b1afd3e36ff821b6e23bfeb Mon Sep 17 00:00:00 2001 From: naorye Date: Tue, 10 Sep 2013 09:57:45 +0200 Subject: docs($q): clarify what happens when rejected Closes #3943 --- src/ng/q.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ng/q.js') diff --git a/src/ng/q.js b/src/ng/q.js index a9eed738..be5bd6f4 100644 --- a/src/ng/q.js +++ b/src/ng/q.js @@ -480,8 +480,8 @@ function qFactory(nextTick, exceptionHandler) { * @param {Array.|Object.} 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(), -- cgit v1.2.3