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

Update helper guides to use regular functions #1924

Merged
merged 2 commits into from
Jun 14, 2023
Merged

Conversation

chancancode
Copy link
Contributor

Copy link
Contributor

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks for doing this!!!

@mansona mansona merged commit 6f77063 into master Jun 14, 2023
@mansona mansona deleted the plain-function-helpers branch June 14, 2023 21:40
chancancode added a commit to tildeio/discourse that referenced this pull request Jun 15, 2023
This feature landed in Ember 4.5+, but this polyfill would allow
it to work on 3.25+

References

RFC: emberjs/rfcs#756
Update: emberjs/rfcs#788
Guides: ember-learn/guides-source#1924
CvX pushed a commit to discourse/discourse that referenced this pull request Jun 15, 2023
* Enable "plain function as helpers" polyfill

This feature landed in Ember 4.5+, but this polyfill would allow
it to work on 3.25+

References

RFC: emberjs/rfcs#756
Update: emberjs/rfcs#788
Guides: ember-learn/guides-source#1924

* Convert truth-helpers to use plain functions

Mainly to test that the polyfill is working, but it's a good
refactor anyway.
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.

4 participants