From 4a11a3559dbcef82ad9842bde08b547d0e703e2a Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 8 Apr 2013 20:01:13 -0700 Subject: [PATCH] Fix typo in `iteratorTemplate` and `_.template` docs. [ci skip] [closes #232] Former-commit-id: b7870c00a2ab788c233696d3ca40f8306ee7bc3a --- dist/lodash.compat.js | 4 ++-- dist/lodash.js | 4 ++-- dist/lodash.underscore.js | 2 +- doc/README.md | 2 +- lodash.js | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dist/lodash.compat.js b/dist/lodash.compat.js index 94ca5965f..4ca538617 100644 --- a/dist/lodash.compat.js +++ b/dist/lodash.compat.js @@ -445,7 +445,7 @@ * The template used to create iterator functions. * * @private - * @param {Obect} data The data object used to populate the text. + * @param {Object} data The data object used to populate the text. * @returns {String} Returns the interpolated text. */ var iteratorTemplate = function(obj) { @@ -4935,7 +4935,7 @@ * @memberOf _ * @category Utilities * @param {String} text The template text. - * @param {Obect} data The data object used to populate the text. + * @param {Object} data The data object used to populate the text. * @param {Object} options The options object. * escape - The "escape" delimiter regexp. * evaluate - The "evaluate" delimiter regexp. diff --git a/dist/lodash.js b/dist/lodash.js index 790014730..7be9e8296 100644 --- a/dist/lodash.js +++ b/dist/lodash.js @@ -333,7 +333,7 @@ * The template used to create iterator functions. * * @private - * @param {Obect} data The data object used to populate the text. + * @param {Object} data The data object used to populate the text. * @returns {String} Returns the interpolated text. */ var iteratorTemplate = function(obj) { @@ -4733,7 +4733,7 @@ * @memberOf _ * @category Utilities * @param {String} text The template text. - * @param {Obect} data The data object used to populate the text. + * @param {Object} data The data object used to populate the text. * @param {Object} options The options object. * escape - The "escape" delimiter regexp. * evaluate - The "evaluate" delimiter regexp. diff --git a/dist/lodash.underscore.js b/dist/lodash.underscore.js index dc1f0a038..0fd0878bb 100644 --- a/dist/lodash.underscore.js +++ b/dist/lodash.underscore.js @@ -3900,7 +3900,7 @@ * @memberOf _ * @category Utilities * @param {String} text The template text. - * @param {Obect} data The data object used to populate the text. + * @param {Object} data The data object used to populate the text. * @param {Object} options The options object. * escape - The "escape" delimiter regexp. * evaluate - The "evaluate" delimiter regexp. diff --git a/doc/README.md b/doc/README.md index 480f30cf9..c1349575c 100644 --- a/doc/README.md +++ b/doc/README.md @@ -3540,7 +3540,7 @@ http://developer.chrome.com/stable/extensions/sandboxingEval.html #### Arguments 1. `text` *(String)*: The template text. -2. `data` *(Obect)*: The data object used to populate the text. +2. `data` *(Object)*: The data object used to populate the text. 3. `options` *(Object)*: The options object. escape - The "escape" delimiter regexp. evaluate - The "evaluate" delimiter regexp. interpolate - The "interpolate" delimiter regexp. sourceURL - The sourceURL of the template's compiled source. variable - The data object variable name. #### Returns diff --git a/lodash.js b/lodash.js index e62ba714b..2c53415f1 100644 --- a/lodash.js +++ b/lodash.js @@ -444,7 +444,7 @@ * The template used to create iterator functions. * * @private - * @param {Obect} data The data object used to populate the text. + * @param {Object} data The data object used to populate the text. * @returns {String} Returns the interpolated text. */ var iteratorTemplate = template( @@ -4945,7 +4945,7 @@ * @memberOf _ * @category Utilities * @param {String} text The template text. - * @param {Obect} data The data object used to populate the text. + * @param {Object} data The data object used to populate the text. * @param {Object} options The options object. * escape - The "escape" delimiter regexp. * evaluate - The "evaluate" delimiter regexp.