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

Add guard to morph that checks stimulusReflex #191

Merged
merged 1 commit into from
May 8, 2020
Merged

Conversation

hopsoft
Copy link
Contributor

@hopsoft hopsoft commented May 8, 2020

Bug fix

Description

StimulusReflex was assuming that it owned all CableReady morph operations and would emit console error messages on unrelated morph broadcasts.

This PR adds a guard that verifies that SR only handles SR morphs.

Checklist

  • My code follows the style guidelines of this project
  • Checks (StandardRB & Prettier-Standard) are passing

@hopsoft hopsoft added the bug Something isn't working label May 8, 2020
@hopsoft hopsoft merged commit 2e808d0 into master May 8, 2020
@hopsoft hopsoft deleted the hopsoft/guard-morph branch May 8, 2020 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant