Switch to Jison's lexer.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
var Handlebars = {};
|
||||
|
||||
// BEGIN(BROWSER)
|
||||
|
||||
Handlebars.Visitor = function() {};
|
||||
|
||||
Handlebars.Visitor.prototype = {
|
||||
accept: function(object) {
|
||||
return this[object.type](object);
|
||||
}
|
||||
};
|
||||
// END(BROWSER)
|
||||
|
||||
exports.Visitor = Handlebars.Visitor;
|
||||
Reference in New Issue
Block a user