From 92db72ed82ba644b153cb2da5b75e3c1d574ac2b Mon Sep 17 00:00:00 2001 From: ArchmageInc Date: Fri, 17 Jul 2015 11:32:30 -0400 Subject: [PATCH] Include missing documentation for $q.when / $q.resolve callback arguments. --- src/ng/q.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ng/q.js b/src/ng/q.js index e5be9d2d69ab..121deb813a1b 100644 --- a/src/ng/q.js +++ b/src/ng/q.js @@ -487,6 +487,9 @@ function qFactory(nextTick, exceptionHandler) { * the promise comes from a source that can't be trusted. * * @param {*} value Value or a promise + * @param {Function=} successCallback + * @param {Function=} errorCallback + * @param {Function=} progressCallback * @returns {Promise} Returns a promise of the passed value or promise */ @@ -506,6 +509,9 @@ function qFactory(nextTick, exceptionHandler) { * Alias of {@link ng.$q#when when} to maintain naming consistency with ES6. * * @param {*} value Value or a promise + * @param {Function=} successCallback + * @param {Function=} errorCallback + * @param {Function=} progressCallback * @returns {Promise} Returns a promise of the passed value or promise */ var resolve = when;