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: Don't use a module path for the modules provided by the "client" Created Jan. 4, 2018, 9 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
@@ -18,20 +18,21 @@
"use strict";
/**
* @fileOverview Handles notifications.
*/
const {Prefs} = require("prefs");
const {Downloader, Downloadable,
- MILLIS_IN_MINUTE, MILLIS_IN_HOUR, MILLIS_IN_DAY} = require("downloader");
+ 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");
+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