diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2019-07-04 18:41:18 +0200 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2019-07-04 18:41:18 +0200 |
commit | 6908a6c89f9f44380faa1831ec13cff4042b671a (patch) | |
tree | 075f1c34a991f1c545645dc20aa04f8a118d9bca /js/vapi-background.js | |
parent | 29943a00d915abd025dc93f7f52b3b03aabf149f (diff) | |
download | ematrix-6908a6c89f9f44380faa1831ec13cff4042b671a.tar.lz ematrix-6908a6c89f9f44380faa1831ec13cff4042b671a.tar.xz ematrix-6908a6c89f9f44380faa1831ec13cff4042b671a.zip |
Make vAPI definitely global
At least for background.html, it can be defined once at the start of
vapi-core and then populated.
Diffstat (limited to 'js/vapi-background.js')
-rw-r--r-- | js/vapi-background.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/vapi-background.js b/js/vapi-background.js index 067707c..ed70fe2 100644 --- a/js/vapi-background.js +++ b/js/vapi-background.js @@ -35,8 +35,6 @@ Cu.import('resource://gre/modules/Services.jsm'); Cu.import('chrome://ematrix/content/HttpRequestHeaders.jsm'); - let vAPI = self.vAPI; // Guaranteed to be initialized by vapi-core.js - // Icon-related stuff vAPI.setIcon = function (tabId, iconId, badge) { // If badge is undefined, then setIcon was called from the |