feat(compiler): ElementSchema now has explicit DOM schema information

This makes the schema available for offline compile compiler as well.

Closes #8179
This commit is contained in:
Misko Hevery
2016-04-21 15:11:14 -07:00
committed by Miško Hevery
parent 1ad2a02b11
commit d327ac4b43
5 changed files with 423 additions and 34 deletions

View File

@ -105,7 +105,7 @@ void allTests() {
it('should parse simple expressions in inline templates.', () async {
fooComponentMeta.template = new CompileTemplateMetadata(
template: '<div [a]="b">{{greeting}}</div>',
template: '<div [id]="b">{{greeting}}</div>',
templateUrl: 'template.html');
updateReader();
@ -226,7 +226,7 @@ void allTests() {
it('should create the same output for multiple calls.', () async {
fooComponentMeta.template = new CompileTemplateMetadata(
template: '<div [a]="b">{{greeting}}</div>',
template: '<div [id]="b">{{greeting}}</div>',
templateUrl: 'template.html');
updateReader();