| Index: lib/filterClasses.js |
| =================================================================== |
| --- a/lib/filterClasses.js |
| +++ b/lib/filterClasses.js |
| @@ -16,17 +16,17 @@ |
| */ |
| "use strict"; |
| /** |
| * @fileOverview Definition of Filter class and its subclasses. |
| */ |
| -const {FilterNotifier} = require("./filterNotifier"); |
| +const {filterNotifier} = require("./filterNotifier"); |
| const {extend} = require("./coreUtils"); |
| const {filterToRegExp} = require("./common"); |
| /** |
| * All known unique domain sources mapped to their parsed values. |
| * @type {Map.<string,Map.<string,boolean>>} |
| */ |
| let knownDomainMaps = new Map(); |
| @@ -314,17 +314,17 @@ |
| return this._disabled; |
| }, |
| set disabled(value) |
| { |
| if (value != this._disabled) |
| { |
| let oldValue = this._disabled; |
| this._disabled = value; |
| - FilterNotifier.emit("filter.disabled", this, value, oldValue); |
| + filterNotifier.emit("filter.disabled", this, value, oldValue); |
| } |
| return this._disabled; |
| }, |
| /** |
| * Number of hits on the filter since the last reset |
| * @type {number} |
| */ |
| @@ -333,17 +333,17 @@ |
| return this._hitCount; |
| }, |
| set hitCount(value) |
| { |
| if (value != this._hitCount) |
| { |
| let oldValue = this._hitCount; |
| this._hitCount = value; |
| - FilterNotifier.emit("filter.hitCount", this, value, oldValue); |
| + filterNotifier.emit("filter.hitCount", this, value, oldValue); |
| } |
| return this._hitCount; |
| }, |
| /** |
| * Last time the filter had a hit (in milliseconds since the beginning of the |
| * epoch) |
| * @type {number} |
| @@ -353,17 +353,17 @@ |
| return this._lastHit; |
| }, |
| set lastHit(value) |
| { |
| if (value != this._lastHit) |
| { |
| let oldValue = this._lastHit; |
| this._lastHit = value; |
| - FilterNotifier.emit("filter.lastHit", this, value, oldValue); |
| + filterNotifier.emit("filter.lastHit", this, value, oldValue); |
| } |
| return this._lastHit; |
| }, |
| /** |
| * String that the domains property should be generated from |
| * @type {?string} |
| */ |