From f4a853c6119318eccc0b70a2e8125f2bc0b037a9 Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 14 Jan 2015 17:45:55 -0500 Subject: [PATCH] this fixes one part of #498 --- platform/chromium/vapi-background.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 37daf89..7efbc44 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -31,9 +31,8 @@ /******************************************************************************/ -self.vAPI = self.vAPI || {}; +var vAPI = self.vAPI = self.vAPI || {}; -var vAPI = self.vAPI; var chrome = self.chrome; var manifest = chrome.runtime.getManifest(); @@ -470,6 +469,16 @@ vAPI.onLoadAllCompleted = function() { /******************************************************************************/ +vAPI.punycodeHostname = function(hostname) { + return hostname; +}; + +vAPI.punycodeURL = function(url) { + return url; +}; + +/******************************************************************************/ + })(); /******************************************************************************/