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: Created Sept. 26, 2017, 1:29 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/notification.js
===================================================================
--- a/lib/notification.js
+++ b/lib/notification.js
@@ -18,20 +18,21 @@
"use strict";
/**
* @fileOverview Handles notifications.
*/
const {Prefs} = require("prefs");
kzar 2017/10/18 15:12:07 You missed this one.
hub 2017/10/18 17:57:45 same. out of tree module.
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,

Powered by Google App Engine
This is Rietveld