mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Cleanup benchmark/benchmark.js, add firebug-lite, and add support for Narwhal, Rhino, and Ringo.
Former-commit-id: e08ede5bee3fdfbeb648b855dfb3082e66e68c0b
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
/** Used to detect if a method is native */
|
||||
var reNative = RegExp('^' + ({}.valueOf + '')
|
||||
.replace(/[.*+?^=!:${}()|[\]\/\\]/g, '\\$&')
|
||||
.replace(/valueOf/g, '.+?') + '$')
|
||||
.replace(/valueOf|for [^\]]+/g, '.+?') + '$');
|
||||
|
||||
/** Used to match tokens in template text */
|
||||
var reToken = /__token__(\d+)/g;
|
||||
|
||||
Reference in New Issue
Block a user