From 3d61e80d1c5b66800bde130915cc60b0af621afa Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Mon, 24 Nov 2014 20:20:21 -0200 Subject: [PATCH] jshint --- platform/chromium/vapi-client.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/platform/chromium/vapi-client.js b/platform/chromium/vapi-client.js index 8fa7b07..47edde9 100644 --- a/platform/chromium/vapi-client.js +++ b/platform/chromium/vapi-client.js @@ -21,7 +21,7 @@ // For non background pages -/* global self, chrome, vAPI */ +/* global self */ /******************************************************************************/ @@ -32,7 +32,11 @@ /******************************************************************************/ 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, channels: {}, listeners: {}, @@ -140,7 +144,7 @@ self.vAPI.messaging = { /******************************************************************************/ -self.vAPI.canExecuteContentScript = function() { +vAPI.canExecuteContentScript = function() { return true; };