From e4fc8dd6fe29f5a2c8910fb32be2c2b2e34f4be6 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 3 Sep 2012 16:30:55 -0700 Subject: [PATCH] Remove older Opera fixes from the "underscore" build. Former-commit-id: a012ed6957b4d964b5f2dc1a636d7f5f19fbf307 --- build.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.js b/build.js index 590be5148..770175290 100755 --- a/build.js +++ b/build.js @@ -89,6 +89,9 @@ ' }' ].join('\n')); + // remove Opera 10.53-10.60 JIT fixes + source = source.replace(/length *> *-1 *&& *length/g, 'length'); + // remove `prototype` [[Enumerable]] fix from `iteratorTemplate` source = source .replace(/(?: *\/\/.*\n)*\s*' *(?:<% *)?if *\(!hasDontEnumBug *(?:&&|\))[\s\S]+?<% *} *(?:%>|').+/g, '')