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

Unified Diff: lib/filterListener.js

Issue 29556638: Issue 5762 - Use relative require paths (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Use a path alias for the common modules. Created Jan. 3, 2018, 8: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/filterClasses.js ('k') | lib/filterNotifier.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/filterListener.js
===================================================================
--- a/lib/filterListener.js
+++ b/lib/filterListener.js
@@ -20,24 +20,24 @@
/**
* @fileOverview Component synchronizing filter storage with Matcher
* instances and ElemHide.
*/
const {Services} = Cu.import("resource://gre/modules/Services.jsm", {});
const {XPCOMUtils} = Cu.import("resource://gre/modules/XPCOMUtils.jsm", {});
-const {FilterStorage} = require("filterStorage");
-const {FilterNotifier} = require("filterNotifier");
-const {ElemHide} = require("elemHide");
-const {ElemHideEmulation} = require("elemHideEmulation");
-const {defaultMatcher} = require("matcher");
+const {FilterStorage} = require("./filterStorage");
+const {FilterNotifier} = require("./filterNotifier");
+const {ElemHide} = require("./elemHide");
+const {ElemHideEmulation} = require("./elemHideEmulation");
+const {defaultMatcher} = require("./matcher");
const {ActiveFilter, RegExpFilter,
- ElemHideBase, ElemHideEmulationFilter} = require("filterClasses");
-const {Prefs} = require("prefs");
+ ElemHideBase, ElemHideEmulationFilter} = require("./filterClasses");
+const {Prefs} = require("abp-modules/prefs");
/**
* Increases on filter changes, filters will be saved if it exceeds 1.
* @type {number}
*/
let isDirty = 0;
/**
« no previous file with comments | « lib/filterClasses.js ('k') | lib/filterNotifier.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld