mirror of https://github.com/gorhill/uBlock.git
jshint
This commit is contained in:
parent
1ba3142fdf
commit
369b038f92
|
@ -75,7 +75,7 @@ vAPI.tabs.get = function(tabId, callback) {
|
|||
return;
|
||||
}
|
||||
callback(tab);
|
||||
}
|
||||
};
|
||||
if ( tabId !== null ) {
|
||||
chrome.tabs.get(tabId, onTabReady);
|
||||
return;
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
|
||||
// For background page or non-background pages
|
||||
|
||||
/* global self, vAPI */
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
(function() {
|
||||
|
@ -36,7 +38,7 @@ self.vAPI = self.vAPI || {};
|
|||
var setScriptDirection = function(language) {
|
||||
document.body.setAttribute(
|
||||
'dir',
|
||||
~['ar', 'he', 'fa', 'ps', 'ur'].indexOf(language) ? 'rtl' : 'ltr'
|
||||
['ar', 'he', 'fa', 'ps', 'ur'].indexOf(language) !== -1 ? 'rtl' : 'ltr'
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
@ -20,9 +20,7 @@
|
|||
*/
|
||||
|
||||
/* jshint bitwise: false */
|
||||
/* global µBlock, YaMD5 */
|
||||
|
||||
'use strict';
|
||||
/* global vAPI, µBlock, YaMD5 */
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
@ -30,6 +28,8 @@
|
|||
|
||||
µBlock.mirrors = (function() {
|
||||
|
||||
'use strict';
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
// To show keys in local storage from console:
|
||||
|
|
|
@ -20,12 +20,13 @@
|
|||
*/
|
||||
|
||||
/* global vAPI, uDom */
|
||||
'use strict';
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
(function() {
|
||||
|
||||
'use strict';
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
var stats;
|
||||
|
|
Loading…
Reference in New Issue