1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-09-29 08:41:11 +13:00
This commit is contained in:
Raymond Hill 2014-11-24 20:20:21 -02:00 committed by gorhill
parent 61fb46a87f
commit 3d61e80d1c

View file

@ -21,7 +21,7 @@
// For non background pages // For non background pages
/* global self, chrome, vAPI */ /* global self */
/******************************************************************************/ /******************************************************************************/
@ -32,7 +32,11 @@
/******************************************************************************/ /******************************************************************************/
self.vAPI = self.vAPI || {}; self.vAPI = self.vAPI || {};
self.vAPI.chrome = true;
var chrome = self.chrome;
var vAPI = self.vAPI;
vAPI.chrome = true;
/******************************************************************************/ /******************************************************************************/
@ -81,7 +85,7 @@ var uniqueId = function() {
/******************************************************************************/ /******************************************************************************/
self.vAPI.messaging = { vAPI.messaging = {
port: null, port: null,
channels: {}, channels: {},
listeners: {}, listeners: {},
@ -140,7 +144,7 @@ self.vAPI.messaging = {
/******************************************************************************/ /******************************************************************************/
self.vAPI.canExecuteContentScript = function() { vAPI.canExecuteContentScript = function() {
return true; return true;
}; };