refactor: misc cleanup (#10046)

This commit is contained in:
Victor Berchet
2016-07-13 11:01:32 -07:00
committed by GitHub
parent 4a965052f9
commit 42b0c1d8a2
21 changed files with 91 additions and 159 deletions

View File

@ -205,7 +205,7 @@ class TemplatePreparseVisitor implements HtmlAstVisitor {
var textContent = '';
ast.children.forEach(child => {
if (child instanceof HtmlTextAst) {
textContent += (<HtmlTextAst>child).value;
textContent += child.value;
}
});
this.styles.push(textContent);