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

Unified Diff: lib/devtools.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/csp.js ('k') | lib/filterComposer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/devtools.js
diff --git a/lib/devtools.js b/lib/devtools.js
index 2fdf5ec8ccde7a433a87bbac8e844519b33fb528..89c50d4342816f4072cae2225c20d63fb6e44bd7 100644
--- a/lib/devtools.js
+++ b/lib/devtools.js
@@ -17,13 +17,13 @@
"use strict";
-let {RegExpFilter, WhitelistFilter, ElemHideFilter} = require("filterClasses");
-let {SpecialSubscription} = require("subscriptionClasses");
-let {FilterStorage} = require("filterStorage");
-let {defaultMatcher} = require("matcher");
-let {FilterNotifier} = require("filterNotifier");
-let {extractHostFromFrame} = require("url");
-let {port} = require("messaging");
+const {RegExpFilter, WhitelistFilter, ElemHideFilter} = require("filterClasses");
+const {SpecialSubscription} = require("subscriptionClasses");
+const {FilterStorage} = require("filterStorage");
+const {defaultMatcher} = require("matcher");
+const {FilterNotifier} = require("filterNotifier");
+const {extractHostFromFrame} = require("url");
+const {port} = require("messaging");
const nonRequestTypes = ["DOCUMENT", "ELEMHIDE", "GENERICBLOCK", "GENERICHIDE"];
« no previous file with comments | « lib/csp.js ('k') | lib/filterComposer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld