code review: jshint'ed

pull/2/head
gorhill 10 years ago
parent 26e80a8c5c
commit 56d4cf6a6a

@ -19,7 +19,8 @@
Home: https://github.com/gorhill/uBlock
*/
/* global punycode */
/* jshint esnext: true, bitwise: false */
/* global self, Components, punycode */
// For background page
@ -143,7 +144,7 @@ vAPI.storage = {
sqlWhere: function(col, params) {
if ( params > 0 ) {
params = Array(params + 1).join('?, ').slice(0, -2);
params = new Array(params + 1).join('?, ').slice(0, -2);
return ' WHERE ' + col + ' IN (' + params + ')';
}
@ -1000,7 +1001,7 @@ var httpObserver = {
// Probably isn't the best method to identify the source tab
if ( tabURI.spec !== lastRequest.openerURL ) {
continue
continue;
}
sourceTabId = vAPI.tabs.getTabId(tab);

Loading…
Cancel
Save