From 1ed63ef6ae100461b98dda596b3c3fb7ccf50329 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 14 Oct 2013 14:34:12 +0000 Subject: [PATCH] --- js/libs/fluidbook/fluidbook.js | 9 +-------- js/libs/fluidbook/fluidbook.l10n.js | 2 -- js/main.js | 4 +--- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.js b/js/libs/fluidbook/fluidbook.js index 988fe9bc..abbb733f 100644 --- a/js/libs/fluidbook/fluidbook.js +++ b/js/libs/fluidbook/fluidbook.js @@ -100,10 +100,8 @@ Fluidbook.prototype = { return; } try { - console.log('hide splash'); navigator.splashscreen.hide(); } catch (err) { - console.warn('error trying hide splash'); } this.loader.canPreload(); @@ -1288,7 +1286,6 @@ Fluidbook.prototype = { uri, filePath, function(entry) { - console.log("download complete: " + entry.fullPath); if (callback != undefined) { if (callbackArgs == undefined) { callbackArgs = []; @@ -1298,9 +1295,7 @@ Fluidbook.prototype = { } }, function(error) { - console.log("download error source " + error.source); - console.log("download error target " + error.target); - console.log("upload error code" + error.code); + } ); }); @@ -1343,10 +1338,8 @@ Fluidbook.prototype = { type: types_android[type], url: url }, function(args) { - console.log(args); $this.hideLoader(5); }, function(args) { - console.warn(args); $this.hideLoader(5); }); }, 100); diff --git a/js/libs/fluidbook/fluidbook.l10n.js b/js/libs/fluidbook/fluidbook.l10n.js index 67a41903..e238c70a 100644 --- a/js/libs/fluidbook/fluidbook.l10n.js +++ b/js/libs/fluidbook/fluidbook.l10n.js @@ -34,7 +34,6 @@ FluidbookL10N.prototype = { }, initMultilang: function() { var forceLocales = window.sessionStorage.getItem('locales'); - console.log('force Locales ' + forceLocales); var force = false; if (forceLocales === undefined || forceLocales === null || forceLocales === 'undefined') { force = false; @@ -44,7 +43,6 @@ FluidbookL10N.prototype = { forceLocales = JSON.parse(forceLocales); } catch (err) { force = false; - console.warn("error parsing forceLocales :: " + forceLocales); } } diff --git a/js/main.js b/js/main.js index 2a8d663f..1400c9b5 100644 --- a/js/main.js +++ b/js/main.js @@ -166,8 +166,6 @@ function init() { return; } - console.log('fluidbook inited'); - INITED = true; fluidbook = new Fluidbook(DATAS); @@ -261,7 +259,7 @@ function initEvents() { }); }); } catch (err) { - console.error(err.message); + } return false; -- 2.39.5