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

Unified Diff: lib/antiadblockInit.js

Issue 29773630: Issue 5761 - Changes require paths to relative (Closed) Base URL: https://hg.adblockplus.org/adblockplusui/
Patch Set: Address PS1 comment Created May 18, 2018, 5:18 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
Index: lib/antiadblockInit.js
===================================================================
--- a/lib/antiadblockInit.js
+++ b/lib/antiadblockInit.js
@@ -12,22 +12,22 @@
* GNU General Public License for more details.
*
* 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";
-const {Prefs} = require("prefs");
-const {ActiveFilter} = require("filterClasses");
-const {FilterStorage} = require("filterStorage");
-const {FilterNotifier} = require("filterNotifier");
-const {Subscription} = require("subscriptionClasses");
-const {Notification} = require("notification");
+const {Prefs} = require("../../lib/prefs");
+const {ActiveFilter} = require("../../adblockpluscore/lib/filterClasses");
+const {FilterStorage} = require("../../adblockpluscore/lib/filterStorage");
+const {FilterNotifier} = require("../../adblockpluscore/lib/filterNotifier");
+const {Subscription} = require("../../adblockpluscore/lib/subscriptionClasses");
+const {Notification} = require("../../adblockpluscore/lib/notification");
exports.initAntiAdblockNotification = function initAntiAdblockNotification()
{
let notification = {
id: "antiadblock",
type: "question",
title: browser.i18n.getMessage("notification_antiadblock_title"),
message: browser.i18n.getMessage("notification_antiadblock_message"),

Powered by Google App Engine
This is Rietveld