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

Unified Diff: lib/filterComposer.js

Issue 29877564: Issue 6933 - Update adblockpluscore dependency to hg:dcda4859fcbd (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Update core to hg:dcda4859fcbd git:c9dc573 Created Sept. 11, 2018, 2:11 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/devtools.js ('k') | lib/firefoxDataCleanup.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/filterComposer.js
===================================================================
--- a/lib/filterComposer.js
+++ b/lib/filterComposer.js
@@ -16,17 +16,17 @@
*/
/** @module filterComposer */
"use strict";
const {defaultMatcher} = require("../adblockpluscore/lib/matcher");
const {RegExpFilter} = require("../adblockpluscore/lib/filterClasses");
-const {FilterNotifier} = require("../adblockpluscore/lib/filterNotifier");
+const {filterNotifier} = require("../adblockpluscore/lib/filterNotifier");
const {Prefs} = require("./prefs");
const {extractHostFromFrame, isThirdParty} = require("./url");
const {getKey, checkWhitelisted} = require("./whitelisting");
const {port} = require("./messaging");
const info = require("info");
let readyPages = new ext.PageMap();
@@ -184,17 +184,17 @@
// user experience on mobile is quite different.
if (info.application != "fennec" &&
!filter && Prefs.shouldShowBlockElementMenu && readyPages.has(page))
{
page.contextMenus.create(contextMenuItem);
}
}
-FilterNotifier.on("page.WhitelistingStateRevalidate", updateContextMenu);
+filterNotifier.on("page.WhitelistingStateRevalidate", updateContextMenu);
Prefs.on("shouldShowBlockElementMenu", () =>
{
browser.tabs.query({}, tabs =>
{
for (let tab of tabs)
updateContextMenu(new ext.Page(tab));
});
« no previous file with comments | « lib/devtools.js ('k') | lib/firefoxDataCleanup.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld