diff --git a/www/windows8/InAppBrowserProxy.js b/www/windows8/InAppBrowserProxy.js index 273f303..7cb98a7 100644 --- a/www/windows8/InAppBrowserProxy.js +++ b/www/windows8/InAppBrowserProxy.js @@ -19,7 +19,7 @@ cordova.define("org.apache.cordova.inappbrowser.InAppBrowserProxy", function(req * */ -/*global Windows:true */ +/*global Windows:true */ @@ -89,13 +89,8 @@ var IAB = { window.location = strUrl; } - - - - //var object = new WinJS.UI.HtmlControl(elem, { uri: strUrl }); - }, injectScriptCode:function(code, bCB) { @@ -108,10 +103,7 @@ var IAB = { } }; - - - module.exports = IAB; -require("cordova/commandProxy").add("InAppBrowser",IAB);}); +require("cordova/windows8/commandProxy").add("InAppBrowser",module.exports);