mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Update Benchmark.js to be compatible with v3.0.0-pre.
This commit is contained in:
2
vendor/benchmark.js/benchmark.js
vendored
2
vendor/benchmark.js/benchmark.js
vendored
@@ -1813,7 +1813,7 @@
|
||||
*/
|
||||
function interpolate(string) {
|
||||
// replaces all occurrences of `#` with a unique number and template tokens with content
|
||||
return _.template(string.replace(/\#/g, /\d+/.exec(templateData.uid)), templateData);
|
||||
return _.template(string.replace(/\#/g, /\d+/.exec(templateData.uid)))(templateData);
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user