Browse Source

jshint

pull/2/head
Raymond Hill 10 years ago
committed by gorhill
parent
commit
3d61e80d1c
  1. 12
      platform/chromium/vapi-client.js

12
platform/chromium/vapi-client.js

@ -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;
}; };

Loading…
Cancel
Save