mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-14 00:05:08 +12:00
code review: jshint'ed
This commit is contained in:
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…
Reference in a new issue