diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2019-07-04 18:06:54 +0200 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2019-07-04 18:06:54 +0200 |
commit | 51f5e899fff9e804d9c91e4fefdd57ea5a85e99c (patch) | |
tree | 75f9fc8e14e0301a0e1db4332e8474f68eea01fc /js/vapi-storage.js | |
parent | d84768e0390fc235d298f9611495d8ffab0a7934 (diff) | |
download | ematrix-51f5e899fff9e804d9c91e4fefdd57ea5a85e99c.tar.lz ematrix-51f5e899fff9e804d9c91e4fefdd57ea5a85e99c.tar.xz ematrix-51f5e899fff9e804d9c91e4fefdd57ea5a85e99c.zip |
Make components and services global
Given that they are used a lot, at least in vAPI, let's just
define/import them only once.
Diffstat (limited to 'js/vapi-storage.js')
-rw-r--r-- | js/vapi-storage.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/js/vapi-storage.js b/js/vapi-storage.js index 6a6cb3b..6dbb955 100644 --- a/js/vapi-storage.js +++ b/js/vapi-storage.js @@ -26,9 +26,6 @@ /******************************************************************************/ (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: |