From f1f66637b814155c95a2bfddfdd9cd2973b86659 Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Thu, 4 Jul 2019 18:20:08 +0200 Subject: Revert "Make components and services global" This reverts commit 51f5e899fff9e804d9c91e4fefdd57ea5a85e99c. It seems to cause issues with the popup menu. --- js/vapi-core.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/vapi-core.js') diff --git a/js/vapi-core.js b/js/vapi-core.js index 3901c1c..c904ff2 100644 --- a/js/vapi-core.js +++ b/js/vapi-core.js @@ -23,12 +23,12 @@ 'use strict'; -const {classes: Cc, interfaces: Ci, utils: Cu} = Components; -Cu.import('resource://gre/modules/Services.jsm'); - /******************************************************************************/ (function () { + const {classes: Cc, interfaces: Ci, utils: Cu} = Components; + Cu.import('resource://gre/modules/Services.jsm'); + let vAPI = self.vAPI = self.vAPI || {}; vAPI.modernFirefox = -- cgit v1.2.3