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

MIT License
76 stars 33 forks source link

update confusing usage example in readme #38

Closed jelhan closed 6 years ago

jelhan commented 6 years ago

Example assumed that component yields a hash before but a component after changing syntax. Since angle bracket invocation does not affect yielded value it should be the same before and after.

It's the same in RFC. Not quite sure if the RFC should be changed also even so it's already merged.

jelhan commented 6 years ago

Please note, that <s.option> violates template linting: https://github.com/ember-template-lint/ember-template-lint/issues/473