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

Reviewers: chad, #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9676
This commit is contained in:
Joshua Spence
2014-06-24 03:27:47 +10:00
parent 294f2bf118
commit a0d63322b1
71 changed files with 663 additions and 691 deletions

View File

@@ -54,7 +54,7 @@ JX.behavior('repository-crossreference', function(config) {
});
}
function linkAll(section) {
function linkAll() {
var blocks = JX.DOM.scry(document.body, 'div', 'remarkup-code-block');
for (var i = 0; i < blocks.length; ++i) {
if (blocks[i].hasAttribute('data-code-lang')) {