Page MenuHomeWildfire Games

Some cleaning in input.js.
ClosedPublic

Authored by Freagarach on Jan 7 2021, 11:13 AM.

Details

Reviewers
None
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rP24537: Some cleaning in input.js.
Summary
  • var -> let
  • Linter issues (except default cases for switches).
  • Delete unused comments.
  • Removed some trailing commas in objects.
Test Plan

Check for improvements, verify unmodified behaviour.

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Freagarach created this revision.Jan 7 2021, 11:13 AM
Owners added a subscriber: Restricted Owners Package.Jan 7 2021, 11:13 AM
Freagarach added inline comments.Jan 7 2021, 11:14 AM
binaries/data/mods/public/gui/session/input.js
241 ↗(On Diff #15037)

Build is green

builderr-debug-macos.txt
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../binaries/system/libnetwork_dbg.a(precompiled.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../binaries/system/libtinygettext_dbg.a(precompiled.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../binaries/system/libtinygettext_dbg.a(tinygettext.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../binaries/system/liblobby_dbg.a(precompiled.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../binaries/system/libglooxwrapper_dbg.a(precompiled.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file

See https://jenkins.wildfiregames.com/job/macos-differential/2706/display/redirect for more details.

Freagarach requested review of this revision.Jan 7 2021, 11:33 AM
Stan awarded a token.Jan 7 2021, 11:42 AM
Freagarach added inline comments.Jan 10 2021, 8:48 AM
binaries/data/mods/public/gui/session/input.js
516–524 ↗(On Diff #15037)

Calls for a function.

This revision was not accepted when it landed; it landed in state Needs Review.Jan 11 2021, 10:10 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.