From 6908a6c89f9f44380faa1831ec13cff4042b671a Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Thu, 4 Jul 2019 18:41:18 +0200 Subject: Make vAPI definitely global At least for background.html, it can be defined once at the start of vapi-core and then populated. --- js/vapi-tabs.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'js/vapi-tabs.js') diff --git a/js/vapi-tabs.js b/js/vapi-tabs.js index 54b09d0..d36800a 100644 --- a/js/vapi-tabs.js +++ b/js/vapi-tabs.js @@ -29,8 +29,6 @@ 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.tabs = {}; vAPI.tabs.registerListeners = function() { -- cgit v1.2.3