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

Unified Diff: lib/notification.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/matcher.js ('k') | lib/subscriptionClasses.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/notification.js
===================================================================
--- a/lib/notification.js
+++ b/lib/notification.js
@@ -16,22 +16,23 @@
*/
"use strict";
/**
* @fileOverview Handles notifications.
*/
-const {Prefs} = require("prefs");
+const {Prefs} = require("abp-modules/prefs");
const {Downloader, Downloadable,
- MILLIS_IN_MINUTE, MILLIS_IN_HOUR, MILLIS_IN_DAY} = require("downloader");
-const {Utils} = require("utils");
-const {Matcher, defaultMatcher} = require("matcher");
-const {Filter, RegExpFilter, WhitelistFilter} = require("filterClasses");
+ MILLIS_IN_MINUTE, MILLIS_IN_HOUR,
+ MILLIS_IN_DAY} = require("./downloader");
+const {Utils} = require("abp-modules/utils");
+const {Matcher, defaultMatcher} = require("./matcher");
+const {Filter, RegExpFilter, WhitelistFilter} = require("./filterClasses");
const INITIAL_DELAY = 1 * MILLIS_IN_MINUTE;
const CHECK_INTERVAL = 1 * MILLIS_IN_HOUR;
const EXPIRATION_INTERVAL = 1 * MILLIS_IN_DAY;
const TYPE = {
information: 0,
question: 1,
relentless: 2,
« no previous file with comments | « lib/matcher.js ('k') | lib/subscriptionClasses.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld