Fix _.template benchmarks.

This commit is contained in:
John-David Dalton
2014-11-09 22:48:23 -08:00
parent 94386583e2
commit 57bca50ed0

View File

@@ -516,10 +516,10 @@
var settingsObject = { "variable": "data" };\
\
var _tpl = _.template(tpl),\
_tplVerbose = _.template(tplVerbose, settingsObject);\
_tplVerbose = _.template(tplVerbose, null, settingsObject);\
\
var lodashTpl = lodash.template(tpl),\
lodashTplVerbose = lodash.template(tplVerbose, settingsObject);\
lodashTplVerbose = lodash.template(tplVerbose, null, settingsObject);\
}\
if (typeof wrap != "undefined") {\
var add = function(a, b) {\