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

Delete deprecated mixins #520

Merged
merged 2 commits into from
Nov 22, 2021
Merged

Delete deprecated mixins #520

merged 2 commits into from
Nov 22, 2021

Conversation

SergeAstapov
Copy link
Contributor

Part of #116.

@SergeAstapov SergeAstapov force-pushed the delete-deprecated-mixins branch from a1892ca to acbf3dd Compare November 21, 2021 04:24

```htmlbars
{{input}}
<input {{on-key '/' this.onSlash}} />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lukemelia do you mind to take a look into this example? I'm not 100% sure this is the exactly right way

Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks as I would expect.


```htmlbars
{{input}}
<input {{on-key '/' this.onSlash}} />
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks as I would expect.

@lukemelia
Copy link
Collaborator

@SergeAstapov what do you want to do about the Ember 3.8 failure?

@SergeAstapov
Copy link
Contributor Author

@lukemelia I’m working on the fix. I’ll push an update once I have it

@SergeAstapov
Copy link
Contributor Author

@lukemelia found the solution for 3.8 scenario - in the test component used set(this, 'prop', value) instead of @tracked prop decorator as decorators support was added in Ember 3.10 (unless I'm missing something.)

@lukemelia lukemelia merged commit 4dcd525 into master Nov 22, 2021
@lukemelia lukemelia deleted the delete-deprecated-mixins branch November 22, 2021 04:47
@lukemelia
Copy link
Collaborator

Thanks, @SergeAstapov. Seems OK until we drop 3.8 support.

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.

2 participants