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

Unified Diff: chrome/ext/popup.js

Issue 29374674: Issue 4864 - Start using ESLint for adblockpluschrome (Closed)
Patch Set: Restored IIFEs and chrome/ext/common.js Created March 14, 2017, 8:01 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 | « chrome/ext/devtools.js ('k') | composer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/ext/popup.js
diff --git a/chrome/ext/popup.js b/chrome/ext/popup.js
index f5132aa457a4366129078917064aefc9092ebc42..b6cdc37fd7c1d43083648c27ffaa389309e65a58 100644
--- a/chrome/ext/popup.js
+++ b/chrome/ext/popup.js
@@ -1,8 +1,9 @@
"use strict";
+(function()
{
const backgroundPage = chrome.extension.getBackgroundPage();
- var ext = Object.create(backgroundPage.ext);
+ ext = Object.create(backgroundPage.ext);
ext.closePopup = () =>
{
@@ -19,4 +20,4 @@
return backgroundPage;
}
};
-}
+}());
« no previous file with comments | « chrome/ext/devtools.js ('k') | composer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld