Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove automatic dasherization of modifiers. #542

Merged
merged 1 commit into from Apr 11, 2020
Merged

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Apr 11, 2020

Modifiers (like helpers and components) should not get automatically dasherized when looked up. Using {{fooBar}} and {{foo-bar}} interchangably to mean a given modifier is very confusing behavior, and was never intended. Unfortunately, when user land modifiers were added to Ember we forgot to update this guard to prevent dasherization.

Fixes #506

Modifiers (like helpers and components) should not get automatically
dasherized when looked up. Using `{{fooBar}}` and `{{foo-bar}}`
interchangably to mean a given modifier is **very** confusing behavior,
and was never intended. Unfortunately, when user land modifiers were
added to Ember we forgot to update this guard to prevent dasherization.
@rwjblue rwjblue merged commit a7c14df into master Apr 11, 2020
@rwjblue rwjblue deleted the modifier-dasherization branch April 11, 2020 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove automatic dasherization of modifiers
1 participant