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

Unified Diff: lib/popupBlocker.js

Issue 29371763: Issue 4795 - Use modern JavaScript syntax (Closed)
Patch Set: Addressed some more feedback Created Jan. 18, 2017, 11:44 a.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/notificationHelper.js ('k') | lib/prefs.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/popupBlocker.js
diff --git a/lib/popupBlocker.js b/lib/popupBlocker.js
index 464ba9e77d81ebb031d34cdafa2d4f6a0aefb11a..3c171f0aff419a2cdf35c1632e49805d6c2c902a 100644
--- a/lib/popupBlocker.js
+++ b/lib/popupBlocker.js
@@ -19,11 +19,11 @@
"use strict";
-let {defaultMatcher} = require("matcher");
-let {BlockingFilter} = require("filterClasses");
-let {stringifyURL, isThirdParty, extractHostFromFrame} = require("url");
-let {checkWhitelisted} = require("whitelisting");
-let {logRequest} = require("devtools");
+const {defaultMatcher} = require("matcher");
+const {BlockingFilter} = require("filterClasses");
+const {stringifyURL, isThirdParty, extractHostFromFrame} = require("url");
+const {checkWhitelisted} = require("whitelisting");
+const {logRequest} = require("devtools");
let loadingPopups = Object.create(null);
« no previous file with comments | « lib/notificationHelper.js ('k') | lib/prefs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld