From 141c10f6fe92464f3930f04f4818fee7a034eac2 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 30 Aug 2012 00:58:54 -0700 Subject: [PATCH] Ensure `noArgsClass` references aren't removed for "underscore" builds. Former-commit-id: 697e2d29d5fef32b0b10d775eee7a12d193ff1a9 --- build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.js b/build.js index f10bad5be..9f1156841 100755 --- a/build.js +++ b/build.js @@ -998,6 +998,7 @@ if (!isUnderscore) { source = removeIsArgumentsFallback(source); source = removeIsPlainObjectFallback(source); + source = removeNoArgsClass(source); } // remove `hasDontEnumBug`, `hasObjectSpliceBug`, `iteratesOwnLast`, `noArgsEnum` assignment @@ -1023,7 +1024,6 @@ source = removeVar(source, 'noArraySliceOnStrings'); source = removeVar(source, 'noCharByIndex'); source = removeKeysOptimization(source); - source = removeNoArgsClass(source); source = removeNoNodeClass(source); } else {