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

Unified Diff: messageResponder.js

Issue 29773630: Issue 5761 - Changes require paths to relative (Closed) Base URL: https://hg.adblockplus.org/adblockplusui/
Patch Set: Address PS2 comment Created July 31, 2018, 6:46 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/antiadblockInit.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: messageResponder.js
===================================================================
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -16,41 +16,42 @@
*/
/* globals require */
"use strict";
(function(global)
{
- const {port} = require("messaging");
- const {Prefs} = require("prefs");
- const {Utils} = require("utils");
- const {FilterStorage} = require("filterStorage");
- const {FilterNotifier} = require("filterNotifier");
- const {defaultMatcher} = require("matcher");
- const {Notification: NotificationStorage} = require("notification");
+ const {port} = require("../lib/messaging");
+ const {Prefs} = require("../lib/prefs");
+ const {Utils} = require("../lib/utils");
+ const {FilterStorage} = require("../adblockpluscore/lib/filterStorage");
+ const {FilterNotifier} = require("../adblockpluscore/lib/filterNotifier");
+ const {defaultMatcher} = require("../adblockpluscore/lib/matcher");
+ const {Notification:
+ NotificationStorage} = require("../adblockpluscore/lib/notification");
const {getActiveNotification, shouldDisplay,
- notificationClicked} = require("notificationHelper");
- const {HitLogger} = require("hitLogger");
+ notificationClicked} = require("../lib/notificationHelper");
+ const {HitLogger} = require("../lib/hitLogger");
const {
Filter, ActiveFilter, BlockingFilter, RegExpFilter
- } = require("filterClasses");
- const {Synchronizer} = require("synchronizer");
+ } = require("../adblockpluscore/lib/filterClasses");
+ const {Synchronizer} = require("../adblockpluscore/lib/synchronizer");
const info = require("info");
const {
Subscription,
DownloadableSubscription,
SpecialSubscription,
RegularSubscription
- } = require("subscriptionClasses");
+ } = require("../adblockpluscore/lib/subscriptionClasses");
- const {showOptions} = require("options");
+ const {showOptions} = require("../lib/options");
port.on("types.get", (message, sender) =>
{
const filterTypes = Array.from(require("requestBlocker").filterTypes);
filterTypes.push(...filterTypes.splice(filterTypes.indexOf("OTHER"), 1));
return filterTypes;
});
« no previous file with comments | « lib/antiadblockInit.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld