| Index: lib/filterNotifier.js |
| =================================================================== |
| --- a/lib/filterNotifier.js |
| +++ b/lib/filterNotifier.js |
| @@ -43,17 +43,17 @@ |
| * Adds a listener |
| * |
| * @deprecated use FilterNotifier.on(action, callback) |
| * @param {FilterNotifierCatchAllListener} listener |
| */ |
| addListener(listener) |
| { |
| let listeners = this._listeners.get(CATCH_ALL); |
| - if (!listeners || listeners.indexOf(listener) == -1) |
| + if (!listeners || listeners.indexOf(listener) === -1) |
| this.on(CATCH_ALL, listener); |
| }, |
| /** |
| * Removes a listener that was previosly added via addListener |
| * |
| * @deprecated use FilterNotifier.off(action, callback) |
| * @param {FilterNotifierCatchAllListener} listener |