style(compiler): fix lint issues (#23480)

PR Close #23480
This commit is contained in:
Victor Berchet
2018-04-20 19:52:02 -07:00
parent a35bf114eb
commit ba47997715
3 changed files with 6 additions and 8 deletions

View File

@ -693,8 +693,8 @@ export class _ParseAST {
firstBinding = false;
} else {
isVar = this.peekKeywordLet();
if (isVar) this.advance()
rawKey = this.expectTemplateBindingKey();
if (isVar) this.advance();
rawKey = this.expectTemplateBindingKey();
key = isVar ? rawKey : tplKey + rawKey[0].toUpperCase() + rawKey.substring(1);
this.optionalCharacter(chars.$COLON);
}
@ -729,9 +729,9 @@ export class _ParseAST {
if (!this.optionalCharacter(chars.$SEMICOLON)) {
this.optionalCharacter(chars.$COMMA);
}
} while (this.index < this.tokens.length)
} while (this.index < this.tokens.length);
return new TemplateBindingParseResult(bindings, warnings, this.errors);
return new TemplateBindingParseResult(bindings, warnings, this.errors);
}
error(message: string, index: number|null = null) {