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

[BUGFIX beta] simplify ActionModifierManager.update #14883

Merged

Conversation

GavinJoyce
Copy link
Member

@GavinJoyce GavinJoyce commented Jan 27, 2017

The UpdateModifierOpcode.modifier (actionState) is the same instance as the already registered actionState in ActionHelper so we don't need to register and unregister it, we can just mutate it directly.

@rwjblue
Copy link
Member

rwjblue commented Jan 28, 2017

Seems good. I've seen and been annoyed by that TODO lately also. Thanks for cleaning this up!

@rwjblue rwjblue merged commit af27853 into emberjs:master Jan 28, 2017
@GavinJoyce GavinJoyce deleted the gj/simplify-action-modifier-manager branch January 28, 2017 09:20
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