Permalink
Browse files

Cleanup var names in lodash.js and continue to optimize for gzip.

  • Loading branch information...
1 parent 6a7c591 commit 57adf93cb7388639b2475864c4ddeee3a17cf4e5 @jdalton jdalton committed Oct 8, 2012
Showing with 163 additions and 162 deletions.
  1. +2 −2 build.js
  2. +81 −81 doc/README.md
  3. +17 −16 lodash.js
  4. +31 −31 lodash.min.js
  5. +32 −32 lodash.underscore.min.js
View
@@ -1035,7 +1035,7 @@
}
}
if (isLegacy) {
- _.each(['isBindFast', 'isKeysFast', 'isStrictFast', 'nativeBind', 'nativeGetPrototypeOf', 'nativeIsArray', 'nativeKeys'], function(varName) {
+ _.each(['getPrototypeOf', 'isBindFast', 'isKeysFast', 'isStrictFast', 'nativeBind', 'nativeIsArray', 'nativeKeys'], function(varName) {
source = replaceVar(source, varName, 'false');
});
@@ -1428,7 +1428,7 @@
source = removeVar(source, 'nativeIsArray');
}
if (isRemoved(source, 'isPlainObject')) {
- source = removeVar(source, 'nativeGetPrototypeOf');
+ source = removeVar(source, 'getPrototypeOf');
}
if (isRemoved(source, 'keys')) {
source = removeFunction(source, 'shimKeys');
Oops, something went wrong.

0 comments on commit 57adf93

Please sign in to comment.