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

Unified Diff: lib/subscriptionInit.js

Issue 29713631: Issue 5760 - Use relative require paths (Closed)
Patch Set: Created March 3, 2018, 4:09 a.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
« lib/prefs.js ('K') | « lib/stats.js ('k') | lib/uninstall.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/subscriptionInit.js
===================================================================
--- a/lib/subscriptionInit.js
+++ b/lib/subscriptionInit.js
@@ -15,24 +15,25 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
/** @module subscriptionInit */
"use strict";
const {Subscription, DownloadableSubscription,
- SpecialSubscription} = require("subscriptionClasses");
-const {FilterStorage} = require("filterStorage");
-const {FilterNotifier} = require("filterNotifier");
-const info = require("info");
-const {Prefs} = require("prefs");
-const {Synchronizer} = require("synchronizer");
-const {Utils} = require("utils");
-const {initNotifications} = require("notificationHelper");
+ SpecialSubscription} = require(
kzar 2018/03/19 21:50:08 Please fix the way this is wrapped too.
Jon Sonesen 2018/03/20 23:25:18 Acknowledged.
+"../adblockpluscore/lib/subscriptionClasses");
+const {FilterStorage} = require("../adblockpluscore/lib/filterStorage");
+const {FilterNotifier} = require("../adblockpluscore/lib/filterNotifier");
+const info = require("../buildtools/info");
+const {Prefs} = require("./prefs");
+const {Synchronizer} = require("../adblockpluscore/lib/synchronizer");
+const {Utils} = require("./utils");
+const {initNotifications} = require("./notificationHelper");
const {updatesVersion} = require("../adblockplusui/lib/prefs");
let firstRun;
let subscriptionsCallback = null;
/**
* If there aren't any filters, the default subscriptions are added.
* However, if patterns.ini already did exist and/or any preference
« lib/prefs.js ('K') | « lib/stats.js ('k') | lib/uninstall.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld