Fix up the compilation process
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
if(exports) {
|
||||
var Handlebars = {};
|
||||
Handlebars.Lexer = require("handlebars/jison_ext").Lexer
|
||||
}
|
||||
var Handlebars = {};
|
||||
Handlebars.Lexer = require("handlebars/jison_ext").Lexer
|
||||
|
||||
// BEGIN(BROWSER)
|
||||
Handlebars.HandlebarsLexer = function() {
|
||||
this.state = "CONTENT";
|
||||
};
|
||||
@@ -122,5 +121,6 @@ Handlebars.HandlebarsLexer.prototype.lex = function() {
|
||||
return "CONTENT"
|
||||
}
|
||||
};
|
||||
// END(BROWSER)
|
||||
|
||||
if(exports) { exports.Lexer = Handlebars.HandlebarsLexer; }
|
||||
exports.Lexer = Handlebars.HandlebarsLexer;
|
||||
|
||||
Reference in New Issue
Block a user