mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Reference a different copy of underscore, for consistency.
This commit is contained in:
@@ -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);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user