mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Cleanup comments/docs/descriptions. [ci skip]
Former-commit-id: 4d6a0a54abbaa6607cc5897a09e5a7c0fc884a1a
This commit is contained in:
@@ -326,7 +326,8 @@
|
||||
// with a single line comment
|
||||
return window.eval('(function(' + args + ') {' + body + '\n})');
|
||||
}
|
||||
// use script injection if Firefox's script engine is detected
|
||||
// use `eval` to avoid Firefox's unoptimized `Function` constructor
|
||||
// http://bugzil.la/804933
|
||||
if (isIeOpera || isV8 || !isFirefox) {
|
||||
createFunction = Function;
|
||||
}
|
||||
@@ -946,7 +947,7 @@
|
||||
* also be cloned, otherwise they will be assigned by reference. Functions and
|
||||
* DOM nodes are **not** cloned. The enumerable properties of `arguments` objects
|
||||
* and objects created by constructors other than `Object` are cloned to plain
|
||||
* Object objects.
|
||||
* `Object` objects.
|
||||
*
|
||||
* Note: Lo-Dash's deep clone functionality is loosely based on the structured clone algorithm.
|
||||
* See http://www.w3.org/TR/html5/common-dom-interfaces.html#internal-structured-cloning-algorithm.
|
||||
|
||||
Reference in New Issue
Block a user