Cleanup comments/docs/descriptions. [ci skip]

Former-commit-id: 4d6a0a54abbaa6607cc5897a09e5a7c0fc884a1a
This commit is contained in:
John-David Dalton
2012-12-04 02:08:31 -08:00
parent ed8746df77
commit af9bf3e852
5 changed files with 111 additions and 107 deletions

View File

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