From 004491794326ec8193b38a4d357c3f90e4a2640e Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 29 Aug 2012 00:34:58 -0700 Subject: [PATCH] Ensure Closure Compiler removes `isPlainObject` when it's no longer needed in build.js. Former-commit-id: 748de0f28f4e0733ef83a77fe2b1f6e40e4f8ce2 --- build.js | 1 + 1 file changed, 1 insertion(+) diff --git a/build.js b/build.js index 90345d63d..1ef5555bd 100755 --- a/build.js +++ b/build.js @@ -1122,6 +1122,7 @@ source = removeVar(source, 'reNative'); } if (isRemoved(source, 'createIterator', 'clone', 'merge')) { + source = removeIsPlainObjectFallback(source); source = source.replace(/(?:\n +\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/)?\n *var iteratesOwnLast;|.+?iteratesOwnLast *=.+/g, ''); } if (isRemoved(source, 'createIterator', 'isEqual')) {