From: Radek Czajka Date: Mon, 5 Sep 2011 10:11:06 +0000 (+0200) Subject: turn off debugging X-Git-Url: https://git.mdrn.pl/wl-mobile.git/commitdiff_plain/47c6f3ce00bf63377aa1f4f4332039534ff7d7ee?ds=sidebyside turn off debugging --- diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 66f2e50..6ff99bb 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -17,7 +17,7 @@ + android:debuggable="false"> diff --git a/assets/www/js/main.js b/assets/www/js/main.js index 2daacf5..00d8b29 100644 --- a/assets/www/js/main.js +++ b/assets/www/js/main.js @@ -7,6 +7,10 @@ var VERSION = '1.0'; var WL = 'http://www.wolnelektury.pl'; +// disable debugging +console.log = function(text) {}; + + function onLoad() { console.log('onLoad'); document.addEventListener("deviceready", onDeviceReady, false); @@ -58,4 +62,4 @@ var prettySize = function(size) { return Math.round(size*10)/10 + ' ' + unit; } return Math.round(size) + ' ' + unit; -} +};