linting
This commit is contained in:
@@ -30,7 +30,7 @@ Handlebars.Lexer.prototype = {
|
||||
this.matched += chr;
|
||||
this.match += chr;
|
||||
|
||||
if(chr === "\n") this.yylineno++;
|
||||
if(chr === "\n") { this.yylineno++; }
|
||||
|
||||
this.input = this.input.slice(1);
|
||||
}
|
||||
@@ -43,7 +43,7 @@ Handlebars.Lexer.prototype = {
|
||||
|
||||
for(var i=0; i<n; i++) {
|
||||
chr = this.input[i];
|
||||
if(chr === "\n") this.yylineno++;
|
||||
if(chr === "\n") { this.yylineno++; }
|
||||
|
||||
this.matched += chr;
|
||||
this.match += chr;
|
||||
@@ -78,7 +78,7 @@ Handlebars.Lexer.prototype = {
|
||||
var pre = this.pastInput();
|
||||
var c = new Array(pre.length + 1 + this.readchars).join("-");
|
||||
return pre + this.upcomingInput() + "\n" + c+"^";
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
Handlebars.Visitor = function() {};
|
||||
@@ -87,7 +87,7 @@ Handlebars.Visitor.prototype = {
|
||||
accept: function(object) {
|
||||
return this[object.type](object);
|
||||
}
|
||||
}
|
||||
};
|
||||
// END(BROWSER)
|
||||
|
||||
exports.Lexer = Handlebars.Lexer;
|
||||
|
||||
Reference in New Issue
Block a user