summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'lib/handlebars/compiler')
-rw-r--r--lib/handlebars/compiler/printer.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/handlebars/compiler/printer.js b/lib/handlebars/compiler/printer.js
index 0280960..01b05d1 100644
--- a/lib/handlebars/compiler/printer.js
+++ b/lib/handlebars/compiler/printer.js
@@ -2,10 +2,10 @@ import Visitor from "./visitor";
export function print(ast) {
return new PrintVisitor().accept(ast);
-};
+}
-export function PrintVisitor() { this.padding = 0; };
-PrintVisitor.prototype = new Handlebars.Visitor();
+export function PrintVisitor() { this.padding = 0; }
+PrintVisitor.prototype = new Visitor();
PrintVisitor.prototype.pad = function(string, newline) {
var out = "";
@@ -60,7 +60,7 @@ PrintVisitor.prototype.block = function(block) {
return out;
};
-Handlebars.PrintVisitor.prototype.mustache = function(mustache) {
+PrintVisitor.prototype.mustache = function(mustache) {
var params = mustache.params, paramStrings = [], hash;
for(var i=0, l=params.length; i<l; i++) {