From d361ee33fc20d28ef0e783d3cb2825738c44f4f7 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 1 Apr 2017 12:59:52 -0400 Subject: [PATCH] fix https://github.com/gorhill/uBlock/issues/2499 --- platform/chromium/manifest.json | 2 +- platform/chromium/vapi-client.js | 4 ++-- platform/chromium/vapi-common.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index 7bad28a..568ccd0 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "uMatrix", "short_name": "uMatrix", - "version": "0.9.9.9", + "version": "0.9.9.10", "description": "__MSG_extShortDesc__", "icons": { "16": "img/icon_16.png", diff --git a/platform/chromium/vapi-client.js b/platform/chromium/vapi-client.js index 6034f66..0ffe987 100644 --- a/platform/chromium/vapi-client.js +++ b/platform/chromium/vapi-client.js @@ -25,7 +25,7 @@ /******************************************************************************/ -(function() { +(function(self) { /******************************************************************************/ @@ -191,6 +191,6 @@ vAPI.setTimeout = vAPI.setTimeout || function(callback, delay) { /******************************************************************************/ -})(); +})(this); /******************************************************************************/ diff --git a/platform/chromium/vapi-common.js b/platform/chromium/vapi-common.js index ee62f09..f9f234a 100644 --- a/platform/chromium/vapi-common.js +++ b/platform/chromium/vapi-common.js @@ -26,7 +26,7 @@ /******************************************************************************/ /******************************************************************************/ -(function() { +(function(self) { /******************************************************************************/ @@ -99,6 +99,6 @@ vAPI.setTimeout = vAPI.setTimeout || window.setTimeout.bind(window); /******************************************************************************/ -})(); +})(this); /******************************************************************************/