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

[FEATURE EMBER_GLIMMER_FN_HELPER] Initial implementation of fn helper. #17941

Merged
merged 1 commit into from
Apr 19, 2019

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Apr 17, 2019

As proposed in https://emberjs.github.io/rfcs/0470-fn-helper.html.

Deviates from the original RFC's proposal on handling `this`.
Specifically, it uses a debug build proxy to issue an assertion if the
callback function passed to `fn` uses `this` but isn't bound before
hand (via `@action`, `(action`, etc).
@rwjblue rwjblue merged commit f0816d4 into emberjs:master Apr 19, 2019
@rwjblue rwjblue deleted the add-fn-helper branch April 19, 2019 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants