ember-polyfills / ember-angle-bracket-invocation-polyfill

MIT License
76 stars 33 forks source link

fix: using ...attributes without passing attrs fails #24

Closed lennyburdette closed 6 years ago

lennyburdette commented 6 years ago

Example: A component template with:

<div ...attributes></div>

and this invocation:

<MyComponent />

fails with:

Uncaught TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at Object.create (runtime-polyfill.js:99)

This invocation succeeds:

<MyComponent class="foo" />
lennyburdette commented 6 years ago

Done!

rwjblue commented 6 years ago

Thank you!

rwjblue commented 6 years ago

ember-angle-bracket-invocation-polyfill 1.1.6 published 🎉