Index: lib/elemHideEmulation.js |
=================================================================== |
--- a/lib/elemHideEmulation.js |
+++ b/lib/elemHideEmulation.js |
@@ -16,17 +16,17 @@ |
*/ |
"use strict"; |
/** |
* @fileOverview Element hiding emulation implementation. |
*/ |
-const {ElemHide} = require("./elemHide"); |
+const {ElemHideExceptions} = require("./elemHideExceptions"); |
const {Filter} = require("./filterClasses"); |
let filters = new Set(); |
/** |
* Container for element hiding emulation filters |
* @class |
*/ |
@@ -64,17 +64,17 @@ |
*/ |
getRulesForDomain(domain) |
{ |
let result = []; |
for (let text of filters.values()) |
{ |
let filter = Filter.fromText(text); |
if (filter.isActiveOnDomain(domain) && |
- !ElemHide.getException(filter.selector, domain)) |
+ !ElemHideExceptions.getException(filter.selector, domain)) |
{ |
result.push(filter); |
} |
} |
return result; |
} |
}; |
exports.ElemHideEmulation = ElemHideEmulation; |