Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/filterNotifier.js

Issue 29868577: Issue 6891 - Rename FilterNotifier to filterNotifier (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created Aug. 29, 2018, 2 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/filterListener.js ('k') | lib/filterStorage.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « lib/filterListener.js ('k') | lib/filterStorage.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld