Fix up the compilation process
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
if(exports) {
|
||||
var Handlebars = {};
|
||||
Handlebars.Visitor = require("handlebars/jison_ext").Visitor
|
||||
}
|
||||
var Handlebars = {};
|
||||
Handlebars.Visitor = require("handlebars/jison_ext").Visitor
|
||||
|
||||
// BEGIN(BROWSER)
|
||||
Handlebars.PrintVisitor = function() { this.padding = 0; };
|
||||
Handlebars.PrintVisitor.prototype = new Handlebars.Visitor;
|
||||
|
||||
@@ -109,7 +108,6 @@ Handlebars.PrintVisitor.prototype.content = function(content) {
|
||||
Handlebars.PrintVisitor.prototype.comment = function(comment) {
|
||||
return this.pad("{{! '" + comment.comment + "' }}");
|
||||
}
|
||||
// END(BROWSER)
|
||||
|
||||
if(exports) {
|
||||
exports.PrintVisitor = Handlebars.PrintVisitor;
|
||||
}
|
||||
exports.PrintVisitor = Handlebars.PrintVisitor;
|
||||
|
||||
Reference in New Issue
Block a user