hannahhoward / a1atscript

The Angular 2 Polyfill
MIT License
101 stars 7 forks source link

Component 'properties' and 'events' should be an array #18

Closed timkindberg closed 9 years ago

timkindberg commented 9 years ago

The 'properties' config property in @Component has been changed to an array syntax. So we need to update it to instead of:

@Component({
    properties: {
        foo: 'foo',
        bar: 'baz'
    }
})

We need it to be:

@Component({
    properties: ['foo', 'localName: externalName']
})

I might fix this soon, but wanted to post it in case anyone wants to submit a pull request. Shouldn't be hard.