Fix failing unit test in Opera < 10.52 and add _.toArray benchmarks.

Former-commit-id: 0ed6d5c52b2486be4ccc212da7bbc7cb6d67cf7f
This commit is contained in:
John-David Dalton
2012-07-11 11:26:49 -04:00
parent 60ed65a73a
commit d496361555
3 changed files with 29 additions and 4 deletions

View File

@@ -814,7 +814,7 @@
// remove IE `shift` and `splice` fix from mutator Array functions mixin
source = source.replace(/(?:\s*\/\/.*)*\n( +)if *\(value.length *=== *0[\s\S]+?\n\1}/, '');
// remove `noCharByIndex` from `_.reduceRight` and `_.toArray`
// remove `noCharByIndex` from `_.reduceRight`
source = source.replace(/noCharByIndex *&&[^:]+: *([^;]+)/g, '$1');
source = removeVar(source, 'extendIteratorOptions');