Page MenuHomePhabricator

Remove unused JavaScript variables.
ClosedPublic

Authored by joshuaspence on Jun 23 2014, 1:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 2, 11:02 PM
Unknown Object (File)
Tue, Nov 26, 10:00 AM
Unknown Object (File)
Fri, Nov 22, 6:33 AM
Unknown Object (File)
Wed, Nov 20, 10:47 PM
Unknown Object (File)
Nov 16 2024, 12:54 AM
Unknown Object (File)
Nov 15 2024, 5:04 PM
Unknown Object (File)
Nov 13 2024, 2:15 AM
Unknown Object (File)
Nov 12 2024, 3:32 PM
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
Lint
Lint Skipped
Unit
Tests Skipped

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).