summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/index.js
blob: 6ed8d21900223865b59d7891187d7d72938649b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Each of these module will augment the Handlebars object as it loads. No need to perform addition operations
module.exports.attach = function(Handlebars) {

var visitor = require("./visitor"),
    printer = require("./printer"),
    ast = require("./ast"),
    compiler = require("./compiler");

visitor.attach(Handlebars);
printer.attach(Handlebars);
ast.attach(Handlebars);
compiler.attach(Handlebars);

return Handlebars;

};