Remove older Opera fixes from the "underscore" build.

Former-commit-id: a012ed6957b4d964b5f2dc1a636d7f5f19fbf307
This commit is contained in:
John-David Dalton
2012-09-03 16:30:55 -07:00
parent 1a849e2de0
commit e4fc8dd6fe

View File

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