Fix doc typos in _.template. [ci skip]

This commit is contained in:
John-David Dalton
2014-02-16 01:06:27 -08:00
parent 131bd2c2cd
commit 6913798250

View File

@@ -6762,7 +6762,7 @@
/** /**
* Creates a compiled template function that can interpolate data properties * Creates a compiled template function that can interpolate data properties
* in "interpolate" delimiters, HTML escape interpolated data properties in * in "interpolate" delimiters, HTML-escaped interpolated data properties in
* "escape" delimiters, and execute JavaScript in "evaluate" delimiters. If * "escape" delimiters, and execute JavaScript in "evaluate" delimiters. If
* a data object is provided the interpolated template string will be returned. * a data object is provided the interpolated template string will be returned.
* Data properties may be accessed as free variables in the template. If a * Data properties may be accessed as free variables in the template. If a
@@ -6791,8 +6791,8 @@
* @param {RegExp} [options.interpolate] The "interpolate" delimiter. * @param {RegExp} [options.interpolate] The "interpolate" delimiter.
* @param {string} [options.sourceURL] The sourceURL of the template's compiled source. * @param {string} [options.sourceURL] The sourceURL of the template's compiled source.
* @param {string} [options.variable] The data object variable name. * @param {string} [options.variable] The data object variable name.
* @returns {Function|string} Returns the interpolated text if a data object * @returns {Function|string} Returns the interpolated string if a data object
* if a data object is given, else it returns a template function. * is provided, else it returns a template function.
* @example * @example
* *
* // using the "interpolate" delimiter to create a compiled template * // using the "interpolate" delimiter to create a compiled template