diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2019-07-04 18:20:08 +0200 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2019-07-04 18:20:08 +0200 |
commit | f1f66637b814155c95a2bfddfdd9cd2973b86659 (patch) | |
tree | b6d25fdd7e168789ea3241b74d7333f24dab779b /js/vapi-storage.js | |
parent | d8950421332a0d5b28cba6df38fc4fe85ff26d9e (diff) | |
download | ematrix-f1f66637b814155c95a2bfddfdd9cd2973b86659.tar.lz ematrix-f1f66637b814155c95a2bfddfdd9cd2973b86659.tar.xz ematrix-f1f66637b814155c95a2bfddfdd9cd2973b86659.zip |
Revert "Make components and services global"
This reverts commit 51f5e899fff9e804d9c91e4fefdd57ea5a85e99c.
It seems to cause issues with the popup menu.
Diffstat (limited to 'js/vapi-storage.js')
-rw-r--r-- | js/vapi-storage.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/vapi-storage.js b/js/vapi-storage.js index 6dbb955..6a6cb3b 100644 --- a/js/vapi-storage.js +++ b/js/vapi-storage.js @@ -26,6 +26,9 @@ /******************************************************************************/ (function () { + const {classes: Cc, interfaces: Ci, utils: Cu} = Components; + Cu.import('resource://gre/modules/Services.jsm'); + let vAPI = self.vAPI; // Guaranteed to be initialized by vapi-background.js // API matches that of chrome.storage.local: |