From acd097e4733c106a15815c90e21c00d0c545e042 Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Fri, 19 Jul 2019 16:00:08 +0200 Subject: Make components and Services.jsm global Once again, but this time it works. --- js/vapi-core.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'js/vapi-core.js') diff --git a/js/vapi-core.js b/js/vapi-core.js index 620faf2..0c907f7 100644 --- a/js/vapi-core.js +++ b/js/vapi-core.js @@ -26,9 +26,6 @@ /******************************************************************************/ (function (self) { - const {classes: Cc, interfaces: Ci, utils: Cu} = Components; - Cu.import('resource://gre/modules/Services.jsm'); - vAPI.modernFirefox = Services.appinfo.ID === '{ec8030f7-c20a-464f-9b0e-13a3a9e97384}' && Services.vc.compare(Services.appinfo.version, '44') > 0; -- cgit v1.2.3