Update _.template docs to mark data as optional. [ci skip]

This commit is contained in:
John-David Dalton
2014-01-11 23:57:17 -08:00
parent b14c05ccae
commit bf2f0c38ed
5 changed files with 178 additions and 178 deletions

View File

@@ -6530,7 +6530,7 @@
* @memberOf _
* @category Strings
* @param {string} text The template text.
* @param {Object} 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.
* @param {RegExp} [options.escape] The "escape" delimiter.
* @param {RegExp} [options.evaluate] The "evaluate" delimiter.

2
dist/lodash.js vendored
View File

@@ -6213,7 +6213,7 @@
* @memberOf _
* @category Strings
* @param {string} text The template text.
* @param {Object} 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.
* @param {RegExp} [options.escape] The "escape" delimiter.
* @param {RegExp} [options.evaluate] The "evaluate" delimiter.

View File

@@ -4397,7 +4397,7 @@
* @memberOf _
* @category Strings
* @param {string} text The template text.
* @param {Object} 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.
* @param {RegExp} [options.escape] The "escape" delimiter.
* @param {RegExp} [options.evaluate] The "evaluate" delimiter.

File diff suppressed because it is too large Load Diff

View File

@@ -6549,7 +6549,7 @@
* @memberOf _
* @category Strings
* @param {string} text The template text.
* @param {Object} 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.
* @param {RegExp} [options.escape] The "escape" delimiter.
* @param {RegExp} [options.evaluate] The "evaluate" delimiter.