Index: lib/filterNotifier.js |
=================================================================== |
--- a/lib/filterNotifier.js |
+++ b/lib/filterNotifier.js |
@@ -62,12 +62,12 @@ let FilterNotifier = exports.FilterNotif |
* "subscription.homepage", "subscription.updated", |
* "filter.added", "filter.removed", "filter.moved", |
* "filter.disabled", "filter.hitCount", "filter.lastHit") |
* @param {Subscription|Filter} item item that the change applies to |
*/ |
triggerListeners: function(action, item, param1, param2, param3) |
{ |
let list = listeners.slice(); |
- for each (let listener in list) |
+ for (let listener of list) |
listener(action, item, param1, param2, param3); |
} |
}; |