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); |
Wladimir Palant
2017/03/14 13:03:22
As far as the browser is concerned, ext is an unde
kzar
2017/03/15 04:57:44
Done.
|
ext.closePopup = () => |
{ |
@@ -19,4 +20,4 @@ |
return backgroundPage; |
} |
}; |
-} |
+}()); |