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

Unified Diff: notification.js

Issue 29379779: Issue 4973 - Avoid redeclaring require in the popup (Closed)
Patch Set: Created March 10, 2017, 1:27 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: notification.js
diff --git a/notification.js b/notification.js
index bcc5d8554573ed06eb53b139529884653efecc02..8a8d55aa003e81cd729ed1d83ce1dc79424c2c65 100644
--- a/notification.js
+++ b/notification.js
@@ -17,8 +17,6 @@
"use strict";
-const {require} = ext.backgroundPage.getWindow();
-
const {Utils} = require("utils");
const {Notification} = require("notification");
const {getActiveNotification, shouldDisplay} = require("notificationHelper");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld