I’m trying to include Handlebars.js in node.
In the base.js file it requires a file called parser:
var handlebars = require("./parser").parser;
This file doesn’t seem to be included in the package. Is this supposed to be generated somehow?
Update:
I think I get it. I need to compile it using the included ruby files. Never used ruby, let me see if I can get this Rakefile to work. -Thanks
Unless you need
handlebarsadditional features, I would just usemustache.Mustachetemplates are 100% compatible withhandlebarsif you choose to update latter.and to include it into a file