Update the eco benchmark handler for the latest API

This commit is contained in:
kpdecker
2011-07-31 21:02:40 -05:00
parent 6349c1a0c7
commit 82e3344aed
+1 -4
View File
@@ -13,10 +13,7 @@ var Mustache = require("mustache");
var ecoExports = require("eco");
eco = function(str) {
var module = {};
var template = new Function("module", ecoExports.compile(str));
template(module);
return module.exports;
return ecoExports(str);
}
var benchDetails = {