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

Unified Diff: chrome/content/ui/utils.js

Issue 5294633391226880: issue 1435 - Port popup.html from Chrome/Safari/Opera to Firefox (Closed)
Patch Set: Created Oct. 2, 2014, 7:48 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
Index: chrome/content/ui/utils.js
===================================================================
--- a/chrome/content/ui/utils.js
+++ b/chrome/content/ui/utils.js
@@ -27,26 +27,26 @@
*/
function require(/**String*/ module)
{
- var result = {};
+ let result = {};
result.wrappedJSObject = result;
Services.obs.notifyObservers(result, "adblockplus-require", module);
return result.exports;
}
-var {Policy} = require("contentPolicy");
-var {Filter, InvalidFilter, CommentFilter, ActiveFilter, RegExpFilter,
+let {Policy} = require("contentPolicy");
+let {Filter, InvalidFilter, CommentFilter, ActiveFilter, RegExpFilter,
BlockingFilter, WhitelistFilter, ElemHideBase, ElemHideFilter, ElemHideException} = require("filterClasses");
-var {FilterNotifier} = require("filterNotifier");
-var {FilterStorage, PrivateBrowsing} = require("filterStorage");
-var {IO} = require("io");
-var {defaultMatcher, Matcher, CombinedMatcher} = require("matcher");
-var {Prefs} = require("prefs");
-var {RequestNotifier} = require("requestNotifier");
-var {Subscription, SpecialSubscription, RegularSubscription,
+let {FilterNotifier} = require("filterNotifier");
+let {FilterStorage, PrivateBrowsing} = require("filterStorage");
+let {IO} = require("io");
+let {defaultMatcher, Matcher, CombinedMatcher} = require("matcher");
+let {Prefs} = require("prefs");
+let {RequestNotifier} = require("requestNotifier");
+let {Subscription, SpecialSubscription, RegularSubscription,
ExternalSubscription, DownloadableSubscription} = require("subscriptionClasses");
-var {Synchronizer} = require("synchronizer");
-var {UI} = require("ui");
-var {Utils} = require("utils");
+let {Synchronizer} = require("synchronizer");
+let {UI} = require("ui");
+let {Utils} = require("utils");
/**
* Shortcut for document.getElementById(id)

Powered by Google App Engine
This is Rietveld