Ensure Closure Compiler removes isPlainObject when it's no longer needed in build.js.

Former-commit-id: 748de0f28f4e0733ef83a77fe2b1f6e40e4f8ce2
This commit is contained in:
John-David Dalton
2012-08-29 00:34:58 -07:00
parent 0337c04278
commit 0044917943

View File

@@ -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')) {