Fix typo in iteratorTemplate and _.template docs. [ci skip] [closes #232]

Former-commit-id: b7870c00a2ab788c233696d3ca40f8306ee7bc3a
This commit is contained in:
John-David Dalton
2013-04-08 20:01:13 -07:00
parent 1faa5a80e4
commit 4a11a3559d
5 changed files with 8 additions and 8 deletions

View File

@@ -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.

4
dist/lodash.js vendored
View File

@@ -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.

View File

@@ -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.

View File

@@ -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

View File

@@ -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.