Page MenuHomePhabricator

Remove unused JavaScript variables.
ClosedPublic

Authored by joshuaspence on Jun 23 2014, 1:11 AM.
Tags
None
Referenced Files
F13818261: D9676.diff
Fri, Sep 20, 6:26 AM
Unknown Object (File)
Wed, Sep 18, 7:01 PM
Unknown Object (File)
Tue, Sep 17, 8:11 PM
Unknown Object (File)
Thu, Sep 5, 3:05 PM
Unknown Object (File)
Tue, Sep 3, 9:05 AM
Unknown Object (File)
Tue, Sep 3, 6:18 AM
Unknown Object (File)
Sun, Sep 1, 1:14 PM
Unknown Object (File)
Sat, Aug 31, 9:24 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
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).