Skip to content
This repository was archived by the owner on Nov 15, 2017. It is now read-only.

Commit 7a20fe6

Browse files
committed
jshint
1 parent f2bdd52 commit 7a20fe6

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

js/about.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
Home: https://github.com/gorhill/httpswitchboard
2020
*/
2121

22+
/* global chrome, $ */
23+
2224
/******************************************************************************/
2325

2426
$(function() {

js/asset-updater.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
Home: https://github.com/gorhill/httpswitchboard
2020
*/
2121

22+
/* global chrome, HTTPSB */
23+
2224
/******************************************************************************/
23-
//
25+
2426
// Asset update manager
25-
//
26-
/******************************************************************************/
2727

2828
HTTPSB.assetUpdater = (function() {
2929

@@ -55,7 +55,8 @@ var getUpdateList = function(callback) {
5555
var remoteAssetChecksums = parseChecksumsText(remoteChecksumsText);
5656

5757
var toUpdate = {};
58-
for ( var path in remoteAssetChecksums ) {
58+
var path;
59+
for ( path in remoteAssetChecksums ) {
5960
if ( !remoteAssetChecksums.hasOwnProperty(path) ) {
6061
continue;
6162
}
@@ -81,7 +82,7 @@ var getUpdateList = function(callback) {
8182
localChecksum: localAssetChecksums[path]
8283
};
8384
}
84-
for ( var path in localAssetChecksums ) {
85+
for ( path in localAssetChecksums ) {
8586
if ( !localAssetChecksums.hasOwnProperty(path) ) {
8687
continue;
8788
}

js/assets.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
Home: https://github.com/gorhill/httpswitchboard
2020
*/
2121

22+
/* global chrome, HTTPSB */
23+
2224
/*******************************************************************************
2325
2426
Assets
@@ -51,10 +53,8 @@ File system structure:
5153
// Ref: http://www.html5rocks.com/en/tutorials/file/filesystem/
5254

5355
/******************************************************************************/
54-
//
56+
5557
// Low-level asset files manager
56-
//
57-
/******************************************************************************/
5858

5959
HTTPSB.assets = (function() {
6060

js/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
Home: https://github.com/gorhill/httpswitchboard
2020
*/
2121

22-
/* global HTTPSB */
22+
/* global chrome, HTTPSB */
2323

2424
/******************************************************************************/
2525

0 commit comments

Comments
 (0)