From 51f5e899fff9e804d9c91e4fefdd57ea5a85e99c Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Thu, 4 Jul 2019 18:06:54 +0200 Subject: Make components and services global Given that they are used a lot, at least in vAPI, let's just define/import them only once. --- js/vapi-messaging.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'js/vapi-messaging.js') diff --git a/js/vapi-messaging.js b/js/vapi-messaging.js index 170e85d..0df2362 100644 --- a/js/vapi-messaging.js +++ b/js/vapi-messaging.js @@ -26,8 +26,6 @@ /******************************************************************************/ (function () { - const {classes: Cc, interfaces: Ci, utils: Cu} = Components; - Cu.import('resource://gre/modules/Services.jsm'); Cu.import('chrome://ematrix/content/CallbackWrapper.jsm'); let vAPI = self.vAPI; // Guaranteed to be initialized by vapi-background.js -- cgit v1.2.3