Update the bin to use the precompile API

This commit is contained in:
kpdecker
2011-07-30 16:20:26 -05:00
parent 3af9de7407
commit f8edc59025
+1 -3
View File
@@ -21,7 +21,5 @@ fs.readFile(template, 'utf8', function(err, data) {
}
var options = {};
var ast = handlebars.parse(data);
var environment = new handlebars.Compiler().compile(ast, options);
console.log(new handlebars.JavaScriptCompiler().compile(environment, options));
console.log(handlebars.precompile(data, options));
});