From 792bba8a51dbfda129bb9e4b2da025df137b20b0 Mon Sep 17 00:00:00 2001 From: "J.P. Poveda" Date: Fri, 13 Nov 2015 16:31:26 -0800 Subject: [PATCH 1/2] docs(timeout): minor grammar fix --- src/ng/timeout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ng/timeout.js b/src/ng/timeout.js index 305739527c4c..57180cef369a 100644 --- a/src/ng/timeout.js +++ b/src/ng/timeout.js @@ -33,8 +33,8 @@ function $TimeoutProvider() { * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise * will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block. * @param {...*=} Pass additional parameters to the executed function. - * @returns {Promise} Promise that will be resolved when the timeout is reached. The value this - * promise will be resolved with is the return value of the `fn` function. + * @returns {Promise} Promise that will be resolved when the timeout is reached. The value of this + * promise will be resolved with the return value of the `fn` function. * */ function timeout(fn, delay, invokeApply) { From 6a3aa90b17da1d3183502420811df136d09cef43 Mon Sep 17 00:00:00 2001 From: "J.P. Poveda" Date: Mon, 16 Nov 2015 19:12:01 -0800 Subject: [PATCH 2/2] docs(timeout): minor grammar fix --- src/ng/timeout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ng/timeout.js b/src/ng/timeout.js index 57180cef369a..6253d788e121 100644 --- a/src/ng/timeout.js +++ b/src/ng/timeout.js @@ -33,8 +33,8 @@ function $TimeoutProvider() { * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise * will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block. * @param {...*=} Pass additional parameters to the executed function. - * @returns {Promise} Promise that will be resolved when the timeout is reached. The value of this - * promise will be resolved with the return value of the `fn` function. + * @returns {Promise} Promise that will be resolved when the timeout is reached. The promise + * will be resolved with the return value of the `fn` function. * */ function timeout(fn, delay, invokeApply) {