| Index: lib/filterNotifier.js |
| =================================================================== |
| --- a/lib/filterNotifier.js |
| +++ b/lib/filterNotifier.js |
| @@ -13,19 +13,21 @@ |
| * |
| * You should have received a copy of the GNU General Public License |
| * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| */ |
| "use strict"; |
| /** |
| - * @fileOverview This component manages listeners and calls them to distributes |
| + * @fileOverview This component manages listeners and calls them to distribute |
| * messages about filter changes. |
| */ |
| const {EventEmitter} = require("./events"); |
| /** |
| - * This class allows registering and triggering listeners for filter events. |
| - * @class |
| + * This object allows registering and triggering listeners for filter events. |
| + * @type {EventEmitter} |
| */ |
| -exports.FilterNotifier = Object.create(new EventEmitter()); |
| +let filterNotifier = new EventEmitter(); |
| + |
| +exports.filterNotifier = filterNotifier; |