1 import * as base from './handlebars/base';
3 // Each of these augment the Handlebars object. No need to setup here.
4 // (This is done to easily share code between commonjs and browse envs)
5 import SafeString from './handlebars/safe-string';
6 import Exception from './handlebars/exception';
7 import * as Utils from './handlebars/utils';
8 import * as runtime from './handlebars/runtime';
10 import noConflict from './handlebars/no-conflict';
12 // For compatibility and usage outside of module systems, make the Handlebars object a namespace
14 let hb = new base.HandlebarsEnvironment();
16 Utils.extend(hb, base);
17 hb.SafeString = SafeString;
18 hb.Exception = Exception;
20 hb.escapeExpression = Utils.escapeExpression;
23 hb.template = function(spec) {
24 return runtime.template(spec, hb);
35 inst['default'] = inst;