Page MenuHomePhabricator

Remove unused JavaScript variables.
ClosedPublic

Authored by joshuaspence on Jun 23 2014, 1:11 AM.
Tags
None
Referenced Files
F14025972: D9676.diff
Thu, Nov 7, 9:35 PM
F13986955: D9676.id23223.diff
Mon, Oct 21, 6:38 AM
F13972712: D9676.diff
Thu, Oct 17, 8:44 PM
Unknown Object (File)
Sat, Oct 12, 1:22 AM
Unknown Object (File)
Sat, Oct 12, 1:22 AM
Unknown Object (File)
Sat, Oct 12, 1:22 AM
Unknown Object (File)
Oct 8 2024, 6:19 PM
Unknown Object (File)
Sep 28 2024, 8:13 AM
Subscribers

Details

Reviewers
epriestley
chad
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rPa0d63322b190: Remove unused JavaScript variables.
Summary

There are a bunch of unused variables in JavaScript files. These were identified with JSHint.

Test Plan

It's pretty hard to test this thoroughly... on inspection, it seems that everything should be okay (unless we are doing weird things with the JavaScript).

Diff Detail

Repository
rP Phabricator
Branch
js-rm_unused_var
Lint
Lint Warnings
Unit
No Test Coverage
Build Status
Buildable 1314
Build 1314: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Remove unused JavaScript variables..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added reviewers: epriestley, chad.
joshuaspence edited edge metadata.
  • I missed a few...
epriestley edited edge metadata.

I sort of like the explicit parameters in callbacks, but I like getting rid of the unused variables more and don't care enough about them to make jshint raise the two issues separately. I can't think of any logical/behavioral errors that we could detect or prevent by retaining them, either.

This revision is now accepted and ready to land.Jun 23 2014, 4:10 PM
joshuaspence updated this revision to Diff 23249.

Closed by commit rPa0d63322b190 (authored by @joshuaspence).