From d13294dd390da35b2c4520dbc569acf186750455 Mon Sep 17 00:00:00 2001 From: Manish Jethani Date: Mon, 23 Aug 2021 19:58:44 +0530 Subject: [PATCH] Remove globals usage from background.js (#3848) --- src/js/background.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/js/background.js b/src/js/background.js index ea3a28896..5bb86f021 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -23,7 +23,6 @@ /******************************************************************************/ -import globals from './globals.js'; import logger from './logger.js'; import { FilteringContext } from './filtering-context.js'; @@ -337,7 +336,7 @@ const µBlock = { // jshint ignore:line µBlock.filteringContext = new µBlock.FilteringContext(); -globals.µBlock = µBlock; +self.µBlock = µBlock; /******************************************************************************/