From 53dbbb9dcee60c0fd23cef1a970ecf47c3a2cf5c Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Wed, 7 May 2014 23:36:31 +0200 Subject: [PATCH] Less logging --- js/BoxPage.js | 5 +---- js/JoinNetworkPage.js | 2 +- js/main.js | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/js/BoxPage.js b/js/BoxPage.js index e8dbebc..c35e363 100644 --- a/js/BoxPage.js +++ b/js/BoxPage.js @@ -41,7 +41,7 @@ var BoxPage = (function (w) { console.log("Box page pagebeforeshow"); _boxData = d3d.util.getPageParams(PAGE_ID); var boxURL = "http://"+_boxData.localip; - console.log(" _boxData: ",_boxData); + //console.log(" _boxData: ",_boxData); _title.text(_boxData.wifiboxid); setNetworkStatus(NetworkAPI.STATUS.CONNECTED); @@ -104,9 +104,6 @@ var BoxPage = (function (w) { _defaultItems.toggleClass("ui-screen-hidden",true); _drawItem.toggleClass("ui-screen-hidden",false); _joinNetworkItem.toggleClass("ui-screen-hidden",false); - console.log(" _defaultItems: ",_defaultItems); - console.log(" _drawItem: ",_drawItem); - console.log(" _joinNetworkItem: ",_joinNetworkItem); var joinLink = _joinNetworkItem.find("a").attr("href"); joinLink = d3d.util.replaceURLParameters(joinLink,_boxData); diff --git a/js/JoinNetworkPage.js b/js/JoinNetworkPage.js index 4f24b4b..6264786 100644 --- a/js/JoinNetworkPage.js +++ b/js/JoinNetworkPage.js @@ -25,7 +25,7 @@ _page = $(this); _list = _page.find("ul[data-role=listview]"); //_joinOtherItem = _list.find("#joinOther"); - console.log(" list: ",_list); + //console.log(" list: ",_list); }); $.mobile.document.on( "pagebeforeshow", PAGE_ID, function( event, data ) { console.log("Join network page pagebeforeshow"); diff --git a/js/main.js b/js/main.js index 8815756..2bfa1cd 100644 --- a/js/main.js +++ b/js/main.js @@ -111,7 +111,7 @@ d3d.util = { //console.log(" data.toPage: ",data.toPage); if (typeof data.toPage !== "string") { return; } - console.log("pagebeforechange, data: ",data); + //console.log("pagebeforechange, data: ",data); var url = d3d.util.parseURL(data.toPage); //console.log(" url: ",url); //console.log(" url.hash: ",url.hash);