Skip to content

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

Merged
rwjblue merged 1 commit into
emberjs:masterfrom
rwjblue:add-fn-helper
Apr 19, 2019
Merged

rwjblue merged 1 commit into
emberjs:masterfrom
rwjblue:add-fn-helper

Conversation

@rwjblue

@rwjblue rwjblue commented Apr 17, 2019

Copy link
Copy Markdown
Member

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