Skip to content

minor refactoring of window.track#4

Open
YingCGooi wants to merge 1 commit intoswitchangel:mainfrom
YingCGooi:patch-1
Open

minor refactoring of window.track#4
YingCGooi wants to merge 1 commit intoswitchangel:mainfrom
YingCGooi:patch-1

Conversation

@YingCGooi
Copy link

Changes:

  1. Use if (!val) instead of (val != false)
  2. No need to return early in mods.forEach callback since there is only one condition

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.

1 participant