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

Unified Diff: lib/notificationHelper.js

Issue 29713631: Issue 5760 - Use relative require paths (Closed)
Patch Set: Address PS4 comments, rebase Created April 5, 2018, 11:09 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/messaging.js ('k') | lib/options.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/notificationHelper.js
===================================================================
--- a/lib/notificationHelper.js
+++ b/lib/notificationHelper.js
@@ -14,23 +14,25 @@
* 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 notificationHelper */
"use strict";
-const {startIconAnimation, stopIconAnimation} = require("icon");
-const {Utils} = require("utils");
-const {Notification: NotificationStorage} = require("notification");
-const {stringifyURL} = require("url");
-const {initAntiAdblockNotification} = require("antiadblockInit");
-const {Prefs} = require("prefs");
-const {showOptions} = require("options");
+const {startIconAnimation, stopIconAnimation} = require("./icon");
+const {Utils} = require("./utils");
+const {Notification: NotificationStorage} =
+ require("../adblockpluscore/lib/notification");
+const {stringifyURL} = require("./url");
+const {initAntiAdblockNotification} =
+ require("../adblockplusui/lib/antiadblockInit");
+const {Prefs} = require("./prefs");
+const {showOptions} = require("./options");
let activeNotification = null;
let activeButtons = null;
let defaultDisplayMethods = ["popup"];
let displayMethods = Object.create(null);
displayMethods.critical = ["icon", "notification", "popup"];
displayMethods.question = ["notification"];
displayMethods.normal = ["notification"];
« no previous file with comments | « lib/messaging.js ('k') | lib/options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld