feat(Directive): convert properties to an array

fixes #2013

BREAKING CHANGE:

Before

    @Directive(properties: {
      'sameName': 'sameName',
      'directiveProp': 'elProp | pipe'
    })

After

    @Directive(properties: [
      'sameName',
      'directiveProp: elProp | pipe'
    ])
This commit is contained in:
Victor Berchet
2015-05-26 15:54:10 +02:00
parent 0387221da8
commit d7df853bde
40 changed files with 182 additions and 179 deletions

View File

@ -233,10 +233,10 @@ class AppComponent {
@Component({
selector: 'largetable',
properties: {
'data': 'data',
'benchmarkType': 'benchmarktype'
}
properties: [
'data',
'benchmarkType'
]
})
@View({
directives: [NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault],