Skip to content

Update helper guides to use regular functions#1924

Merged
mansona merged 2 commits intomasterfrom
plain-function-helpers
Jun 14, 2023
Merged

Update helper guides to use regular functions#1924
mansona merged 2 commits intomasterfrom
plain-function-helpers

Conversation

@chancancode
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
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