Reference a different copy of underscore, for consistency.

This commit is contained in:
Nick Martin
2012-04-23 21:07:26 -07:00
parent 82e0a7b4b9
commit cd6cbb2397

View File

@@ -28,7 +28,7 @@ Handlebars = {};
Handlebars.to_json_ast = function (code) {
var ast = require("handlebars").parse(code);
var _ = require('../../app/lib/third/underscore.js'); // XXX super lame
var _ = require('../../packages/underscore/underscore.js'); // XXX super lame
var identifier = function (node) {
if (node.type !== "ID")
@@ -124,4 +124,4 @@ Handlebars.to_json_ast = function (code) {
if (ast.type !== "program")
throw new Error("got ast node " + node.type + " at toplevel");
return template(ast.statements);
};
};