feat(Compiler): case sensitive html parser

This commit is contained in:
Tobias Bosch
2015-10-07 09:34:21 -07:00
committed by Victor Berchet
parent e274ff8a69
commit 86aeb8be0a
14 changed files with 1674 additions and 670 deletions

View File

@ -26,7 +26,7 @@ export function main() {
beforeEach(inject([HtmlParser], (_htmlParser: HtmlParser) => { htmlParser = _htmlParser; }));
function preparse(html: string): PreparsedElement {
return preparseElement(htmlParser.parse(html, '')[0]);
return preparseElement(htmlParser.parse(html, '').rootNodes[0]);
}
it('should detect script elements', inject([HtmlParser], (htmlParser: HtmlParser) => {