refactor(compiler): misc minor (#23441)

PR Close #23441
This commit is contained in:
Victor Berchet
2018-04-17 13:27:18 -07:00
parent 84f024309a
commit 6ff164be0e
3 changed files with 19 additions and 15 deletions

View File

@ -24,7 +24,7 @@ export function preparseElement(ast: html.Element): PreparsedElement {
let hrefAttr: string = null !;
let relAttr: string = null !;
let nonBindable = false;
let projectAs: string = null !;
let projectAs = '';
ast.attrs.forEach(attr => {
const lcAttrName = attr.name.toLowerCase();
if (lcAttrName == NG_CONTENT_SELECT_ATTR) {