Fix up the compilation process

This commit is contained in:
wycats
2010-12-04 17:35:36 -05:00
parent f205cec745
commit 4db1abcd74
10 changed files with 190 additions and 118 deletions
+5 -5
View File
@@ -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;