mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Remove older Opera fixes from the "underscore" build.
Former-commit-id: a012ed6957b4d964b5f2dc1a636d7f5f19fbf307
This commit is contained in:
3
build.js
3
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, '')
|
||||
|
||||
Reference in New Issue
Block a user