From 08409c5cb3bd31667db3404d17f6e8e416becf20 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 1 Apr 2017 12:14:44 -0400 Subject: [PATCH] fix regression bug introduced with 0112e5 --- platform/firefox/vapi-client.js | 4 ++-- platform/firefox/vapi-common.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/firefox/vapi-client.js b/platform/firefox/vapi-client.js index f5a761923..e810d79d8 100644 --- a/platform/firefox/vapi-client.js +++ b/platform/firefox/vapi-client.js @@ -29,7 +29,7 @@ /******************************************************************************/ -(function() { +(function(self) { // https://github.com/chrisaljoudi/uBlock/issues/464 if ( document instanceof HTMLDocument === false ) { @@ -542,6 +542,6 @@ vAPI.executionCost.stop('vapi-client.js'); /******************************************************************************/ -})(); +})(this); /******************************************************************************/ diff --git a/platform/firefox/vapi-common.js b/platform/firefox/vapi-common.js index 6fc7f5b85..6b0200d18 100644 --- a/platform/firefox/vapi-common.js +++ b/platform/firefox/vapi-common.js @@ -27,7 +27,7 @@ /******************************************************************************/ -(function() { +(function(self) { /******************************************************************************/ @@ -186,6 +186,6 @@ vAPI.localStorage.init('extensions.' + location.host + '.'); /******************************************************************************/ -})(); +})(this); /******************************************************************************/