@@ -6,6 +6,7 @@ import AST from "./handlebars/compiler/ast";
|
||||
import { parser as Parser, parse } from "./handlebars/compiler/base";
|
||||
import { Compiler, compile, precompile } from "./handlebars/compiler/compiler";
|
||||
import JavaScriptCompiler from "./handlebars/compiler/javascript-compiler";
|
||||
import Visitor from "./handlebars/compiler/visitor";
|
||||
|
||||
var _create = Handlebars.create;
|
||||
var create = function() {
|
||||
@@ -30,6 +31,8 @@ var create = function() {
|
||||
Handlebars = create();
|
||||
Handlebars.create = create;
|
||||
|
||||
Handlebars.Visitor = Visitor;
|
||||
|
||||
/*jshint -W040 */
|
||||
/* istanbul ignore next */
|
||||
var root = typeof global !== 'undefined' ? global : window,
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
|
||||
var handlebars = require('../dist/cjs/handlebars')["default"];
|
||||
|
||||
handlebars.Visitor = require('../dist/cjs/handlebars/compiler/visitor')["default"];
|
||||
|
||||
var printer = require('../dist/cjs/handlebars/compiler/printer');
|
||||
handlebars.PrintVisitor = printer.PrintVisitor;
|
||||
handlebars.print = printer.print;
|
||||
|
||||
Reference in New Issue
Block a user