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

MIT License
76 stars 33 forks source link

Fix transform to not touch native <input> #79

Closed simonihmig closed 5 years ago

simonihmig commented 5 years ago

Fixes #78

That was a pretty stupid one: the transform would treat <input /> the same as <Input />, i.e. transform it to {{input}}. 🤦‍♂️ Fixed that, added a test, and also tested it with the test suite of ember-bootstrap, which uncovered this issue as reported in #78.

Had to extract some of the existing helpers that work around the issue of earlier Ember version's AST returning the lower-cased tag name, to reuse them here.

rwjblue commented 5 years ago

Thanks for digging into this!