Index: lib/elemHide.js |
=================================================================== |
--- a/lib/elemHide.js |
+++ b/lib/elemHide.js |
@@ -18,17 +18,17 @@ |
"use strict"; |
/** |
* @fileOverview Element hiding implementation. |
*/ |
const {ElemHideExceptions} = require("./elemHideExceptions"); |
const {filterNotifier} = require("./filterNotifier"); |
-const {normalizeHostname, suffixes} = require("./domain"); |
+const {normalizeHostname, domainSuffixes} = require("./url"); |
const {Cache} = require("./caching"); |
/** |
* The maximum number of selectors in a CSS rule. This is used by |
* <code>{@link createStyleSheet}</code> to split up a long list of selectors |
* into multiple rules. |
* @const {number} |
* @default |
@@ -161,17 +161,17 @@ |
* @returns {Array.<string>} The list of selectors. |
*/ |
function getConditionalSelectors(domain, specificOnly) |
{ |
let selectors = []; |
let excluded = new Set(); |
- for (let currentDomain of suffixes(domain, !specificOnly)) |
+ for (let currentDomain of domainSuffixes(domain, !specificOnly)) |
{ |
let filters = filtersByDomain.get(currentDomain); |
if (filters) |
{ |
for (let [filter, isIncluded] of filters) |
{ |
if (!isIncluded) |
{ |