mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Add note about Chrome extensions to _.template.
Former-commit-id: 97b5220ebc3dbbd30b0e52f6c804b449b8d451ca
This commit is contained in:
@@ -364,8 +364,7 @@
|
|||||||
' var length = iteratee.length; index = -1;\n' +
|
' var length = iteratee.length; index = -1;\n' +
|
||||||
' if (length && isArguments(iteratee)) {\n' +
|
' if (length && isArguments(iteratee)) {\n' +
|
||||||
' while (++index < length) {\n' +
|
' while (++index < length) {\n' +
|
||||||
' value = iteratee[index];\n' +
|
' value = iteratee[index += \'\'];\n' +
|
||||||
' index += \'\';\n' +
|
|
||||||
' <%= objectBranch.inLoop %>\n' +
|
' <%= objectBranch.inLoop %>\n' +
|
||||||
' }\n' +
|
' }\n' +
|
||||||
' } else {' +
|
' } else {' +
|
||||||
@@ -1446,6 +1445,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if `value` is a finite number.
|
* Checks if `value` is a finite number.
|
||||||
|
*
|
||||||
* Note: This is not the same as native `isFinite`, which will return true for
|
* Note: This is not the same as native `isFinite`, which will return true for
|
||||||
* booleans and other values. See http://es5.github.com/#x15.1.2.5.
|
* booleans and other values. See http://es5.github.com/#x15.1.2.5.
|
||||||
*
|
*
|
||||||
@@ -1512,6 +1512,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if `value` is `NaN`.
|
* Checks if `value` is `NaN`.
|
||||||
|
*
|
||||||
* Note: This is not the same as native `isNaN`, which will return true for
|
* Note: This is not the same as native `isNaN`, which will return true for
|
||||||
* `undefined` and other values. See http://es5.github.com/#x15.1.2.4.
|
* `undefined` and other values. See http://es5.github.com/#x15.1.2.4.
|
||||||
*
|
*
|
||||||
@@ -3562,6 +3563,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function returns the first argument passed to it.
|
* This function returns the first argument passed to it.
|
||||||
|
*
|
||||||
* Note: It is used throughout Lo-Dash as a default callback.
|
* Note: It is used throughout Lo-Dash as a default callback.
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
@@ -3678,6 +3680,9 @@
|
|||||||
* A micro-templating method that handles arbitrary delimiters, preserves
|
* A micro-templating method that handles arbitrary delimiters, preserves
|
||||||
* whitespace, and correctly escapes quotes within interpolated code.
|
* whitespace, and correctly escapes quotes within interpolated code.
|
||||||
*
|
*
|
||||||
|
* Note: For Chrome extensions use the `lodash csp` build and see
|
||||||
|
* http://code.google.com/chrome/extensions/trunk/sandboxingEval.html
|
||||||
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Utilities
|
* @category Utilities
|
||||||
|
|||||||
Reference in New Issue
Block a user