refactor(ivy): handle animation metadata normalization in the compiler (#26481)

PR Close #26481
This commit is contained in:
Matias Niemelä
2018-10-16 11:09:04 -07:00
committed by Misko Hevery
parent 0f7d2ca7a8
commit 9e5d440a0b
4 changed files with 18 additions and 18 deletions

View File

@ -133,7 +133,9 @@ describe('compiler compliance: styling', () => {
vars: 0,
template: function MyComponent_Template(rf, $ctx$) {
},
animations: [{name: 'foo123'}, {name: 'trigger123'}]
data: {
animations: [{name: 'foo123'}, {name: 'trigger123'}]
}
});
`;
@ -173,7 +175,9 @@ describe('compiler compliance: styling', () => {
vars: 0,
template: function MyComponent_Template(rf, $ctx$) {
},
animations: []
data: {
animations: []
}
});
`;