From 088c621862d9cfcf6239a277e4c46ccd4a0aafce Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 19 Feb 2013 01:35:31 -0800 Subject: [PATCH] Tweak `_.defer` and `_.delay` docs. [ci skip] Former-commit-id: 921eec8f2e8e7701f14095d221a5e72a2c45f470 --- dist/lodash.compat.js | 4 ++-- dist/lodash.js | 4 ++-- dist/lodash.underscore.js | 4 ++-- doc/README.md | 4 ++-- lodash.js | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dist/lodash.compat.js b/dist/lodash.compat.js index 37ebc920b..0829b60e0 100644 --- a/dist/lodash.compat.js +++ b/dist/lodash.compat.js @@ -4200,7 +4200,7 @@ * @param {Function} func The function to delay. * @param {Number} wait The number of milliseconds to delay execution. * @param {Mixed} [arg1, arg2, ...] Arguments to invoke the function with. - * @returns {Number} Returns the `setTimeout` timeout id. + * @returns {Number} Returns the timer id. * @example * * var log = _.bind(console.log, console); @@ -4221,7 +4221,7 @@ * @category Functions * @param {Function} func The function to defer. * @param {Mixed} [arg1, arg2, ...] Arguments to invoke the function with. - * @returns {Number} Returns the `setTimeout` timeout id. + * @returns {Number} Returns the timer id. * @example * * _.defer(function() { alert('deferred'); }); diff --git a/dist/lodash.js b/dist/lodash.js index 67c605583..ccd176e96 100644 --- a/dist/lodash.js +++ b/dist/lodash.js @@ -4050,7 +4050,7 @@ * @param {Function} func The function to delay. * @param {Number} wait The number of milliseconds to delay execution. * @param {Mixed} [arg1, arg2, ...] Arguments to invoke the function with. - * @returns {Number} Returns the `setTimeout` timeout id. + * @returns {Number} Returns the timer id. * @example * * var log = _.bind(console.log, console); @@ -4071,7 +4071,7 @@ * @category Functions * @param {Function} func The function to defer. * @param {Mixed} [arg1, arg2, ...] Arguments to invoke the function with. - * @returns {Number} Returns the `setTimeout` timeout id. + * @returns {Number} Returns the timer id. * @example * * _.defer(function() { alert('deferred'); }); diff --git a/dist/lodash.underscore.js b/dist/lodash.underscore.js index 516edda03..331c394e4 100644 --- a/dist/lodash.underscore.js +++ b/dist/lodash.underscore.js @@ -3439,7 +3439,7 @@ * @param {Function} func The function to delay. * @param {Number} wait The number of milliseconds to delay execution. * @param {Mixed} [arg1, arg2, ...] Arguments to invoke the function with. - * @returns {Number} Returns the `setTimeout` timeout id. + * @returns {Number} Returns the timer id. * @example * * var log = _.bind(console.log, console); @@ -3460,7 +3460,7 @@ * @category Functions * @param {Function} func The function to defer. * @param {Mixed} [arg1, arg2, ...] Arguments to invoke the function with. - * @returns {Number} Returns the `setTimeout` timeout id. + * @returns {Number} Returns the timer id. * @example * * _.defer(function() { alert('deferred'); }); diff --git a/doc/README.md b/doc/README.md index 8e22b33a0..a8b99e7b9 100644 --- a/doc/README.md +++ b/doc/README.md @@ -1945,7 +1945,7 @@ Defers executing the `func` function until the current call stack has cleared. A 2. `[arg1, arg2, ...]` *(Mixed)*: Arguments to invoke the function with. #### Returns -*(Number)*: Returns the `setTimeout` timeout id. +*(Number)*: Returns the timer id. #### Example ```js @@ -1971,7 +1971,7 @@ Executes the `func` function after `wait` milliseconds. Additional arguments wil 3. `[arg1, arg2, ...]` *(Mixed)*: Arguments to invoke the function with. #### Returns -*(Number)*: Returns the `setTimeout` timeout id. +*(Number)*: Returns the timer id. #### Example ```js diff --git a/lodash.js b/lodash.js index 6babfef37..5f46b0b2f 100644 --- a/lodash.js +++ b/lodash.js @@ -4207,7 +4207,7 @@ * @param {Function} func The function to delay. * @param {Number} wait The number of milliseconds to delay execution. * @param {Mixed} [arg1, arg2, ...] Arguments to invoke the function with. - * @returns {Number} Returns the `setTimeout` timeout id. + * @returns {Number} Returns the timer id. * @example * * var log = _.bind(console.log, console); @@ -4228,7 +4228,7 @@ * @category Functions * @param {Function} func The function to defer. * @param {Mixed} [arg1, arg2, ...] Arguments to invoke the function with. - * @returns {Number} Returns the `setTimeout` timeout id. + * @returns {Number} Returns the timer id. * @example * * _.defer(function() { alert('deferred'); });