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-browser.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'js/vapi-browser.js') diff --git a/js/vapi-browser.js b/js/vapi-browser.js index 07d954b..4828b3d 100644 --- a/js/vapi-browser.js +++ b/js/vapi-browser.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 vAPI.browser = {}; -- cgit v1.2.3