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

duplicated array in InterferenceScreenView #293

Closed
pixelzoom opened this issue Dec 21, 2018 · 1 comment
Closed

duplicated array in InterferenceScreenView #293

pixelzoom opened this issue Dec 21, 2018 · 1 comment

Comments

@pixelzoom
Copy link
Contributor

Related to code review #259, noted while reviewing some other unrelated changes.

In InterferenceScreenView, [ waterSceneRange, soundSceneRange, lightSceneRange ] is repeated 3 times. Factor out into:

const allRanges = [ waterSceneRange, soundSceneRange, lightSceneRange ]
@pixelzoom
Copy link
Contributor Author

👍 Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants