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

Unified Diff: lib/stats.js

Issue 29713631: Issue 5760 - Use relative require paths (Closed)
Patch Set: Address PS3 comment Created April 3, 2018, 6:03 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/stats.js
===================================================================
--- a/lib/stats.js
+++ b/lib/stats.js
@@ -14,20 +14,20 @@
* You should have received a copy of the GNU General Public License
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
/** @module stats */
"use strict";
-const {Prefs} = require("prefs");
-const {BlockingFilter} = require("filterClasses");
-const {FilterNotifier} = require("filterNotifier");
-const {port} = require("messaging");
+const {Prefs} = require("./prefs");
+const {BlockingFilter} = require("../adblockpluscore/lib/filterClasses");
+const {FilterNotifier} = require("../adblockpluscore/lib/filterNotifier");
+const {port} = require("./messaging");
const badgeColor = "#646464";
let blockedPerPage = new ext.PageMap();
let getBlockedPerPage =
/**
* Gets the number of requests blocked on the given page.
*

Powered by Google App Engine
This is Rietveld