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

Commit eac2d51

Browse files
committed
jshint
1 parent 089e663 commit eac2d51

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

js/pagestats.js

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

22+
/* global HTTPSB */
23+
2224
/******************************************************************************/
2325

2426
(function() {
@@ -214,7 +216,7 @@ var makeRequestKey = function(uri, reqType) {
214216
}
215217
hint = hint >>> 0;
216218

217-
key = typeToCode[reqType] || 'z';
219+
var key = typeToCode[reqType] || 'z';
218220
key += String.fromCharCode(hint >>> 16) + String.fromCharCode(hint & 0xFFFF);
219221
key += stringPacker.pack(httpsburi.hostnameFromURI(uri));
220222
return key;

0 commit comments

Comments
 (0)