mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Remove globals usage from background.js (#3848)
This commit is contained in:
parent
724a946c79
commit
d13294dd39
@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
import globals from './globals.js';
|
|
||||||
import logger from './logger.js';
|
import logger from './logger.js';
|
||||||
import { FilteringContext } from './filtering-context.js';
|
import { FilteringContext } from './filtering-context.js';
|
||||||
|
|
||||||
@ -337,7 +336,7 @@ const µBlock = { // jshint ignore:line
|
|||||||
|
|
||||||
µBlock.filteringContext = new µBlock.FilteringContext();
|
µBlock.filteringContext = new µBlock.FilteringContext();
|
||||||
|
|
||||||
globals.µBlock = µBlock;
|
self.µBlock = µBlock;
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user