From 47c6f3ce00bf63377aa1f4f4332039534ff7d7ee Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 5 Sep 2011 12:11:06 +0200 Subject: [PATCH] turn off debugging --- AndroidManifest.xml | 2 +- assets/www/js/main.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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; -} +}; -- 2.20.1