From 335f7c42c36e71f75ae0b616b671c19047cd4ced Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 4 Dec 2012 09:17:56 -0800 Subject: [PATCH] Update comments. --- ajax/libs/lodash.js/1.0.0-rc.1/lodash.js | 5 +++-- ajax/libs/lodash.js/1.0.0-rc.1/lodash.underscore.js | 2 +- ajax/libs/lodash.js/package.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ajax/libs/lodash.js/1.0.0-rc.1/lodash.js b/ajax/libs/lodash.js/1.0.0-rc.1/lodash.js index c6bf93be6..fa85f7f19 100644 --- a/ajax/libs/lodash.js/1.0.0-rc.1/lodash.js +++ b/ajax/libs/lodash.js/1.0.0-rc.1/lodash.js @@ -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. diff --git a/ajax/libs/lodash.js/1.0.0-rc.1/lodash.underscore.js b/ajax/libs/lodash.js/1.0.0-rc.1/lodash.underscore.js index 35bcbb583..64759cb5f 100644 --- a/ajax/libs/lodash.js/1.0.0-rc.1/lodash.underscore.js +++ b/ajax/libs/lodash.js/1.0.0-rc.1/lodash.underscore.js @@ -725,7 +725,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. diff --git a/ajax/libs/lodash.js/package.json b/ajax/libs/lodash.js/package.json index eb9f8ea2a..1602cd853 100644 --- a/ajax/libs/lodash.js/package.json +++ b/ajax/libs/lodash.js/package.json @@ -2,7 +2,7 @@ "name": "lodash.js", "version": "1.0.0-rc.1", "filename": "lodash.min.js", - "description": "A utility library, usable as a drop-in replacement for Underscore.js, delivering performance, bug fixes, and additional features.", + "description": "A utility library, usable as a drop-in replacement for Underscore, delivering performance, bug fixes, and additional features.", "homepage": "http://lodash.com", "main": "lodash", "keywords": [