From 028c25afd3faa610269e4da76eb0b47e95d9c52c Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 30 Jun 2013 11:03:26 -0700 Subject: [PATCH] Ensure `iteratorObject.keys` is minified. Former-commit-id: dcbd40ddcb54c6845fd5255f2ee8c4508091aafd --- build/pre-compile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pre-compile.js b/build/pre-compile.js index 29f4ea5c7..a5cac6dda 100644 --- a/build/pre-compile.js +++ b/build/pre-compile.js @@ -340,7 +340,7 @@ ]; // minify `iteratorObject.keys` - source.replace(/\b(iteratorObject(?:\.|\['))keys\b/g, function(match, prelude) { + source = source.replace(/\b(iteratorObject(?:\.|\['))keys\b/g, function(match, prelude) { return prelude + minNames[iteratorOptions.length + props.length]; });