Index: include.preload.js |
=================================================================== |
--- a/include.preload.js |
+++ b/include.preload.js |
@@ -10,19 +10,20 @@ |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
* GNU General Public License for more details. |
* |
* You should have received a copy of the GNU General Public License |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
-/* globals ElemHideEmulation, splitSelector */ |
+"use strict"; |
-"use strict"; |
+let {splitSelector} = require("common"); |
+let {ElemHideEmulation} = require("content_elemHideEmulation"); |
Wladimir Palant
2017/08/29 15:13:24
Mind you, this won't work any more once we switch
hub
2017/08/29 16:46:54
I'll add a not to issue #5080 then.
kzar
2017/08/30 10:22:20
Don't worry I've taken a note of it, I need to add
|
// This variable is also used by our other content scripts. |
let elemhide; |
const typeMap = new Map([ |
["img", "IMAGE"], |
["input", "IMAGE"], |
["picture", "IMAGE"], |