diff --git a/www/index.json b/www/index.json index a17a55c..e50aa44 100644 --- a/www/index.json +++ b/www/index.json @@ -2,7 +2,7 @@ "title": "Ma ville au quotidien (Local)", "icon": "icon.png", "contact": "info@example.net", - "updateFreq": 5, + "updateFreq": 5000, "manifestUrl": "http://pwr.link/entrouvert/index.json", "assetsUrl": "http://pwr.link/entrouvert/assets.zip" }, diff --git a/www/js/index.js b/www/js/index.js index c9f8900..da209b4 100644 --- a/www/js/index.js +++ b/www/js/index.js @@ -158,13 +158,16 @@ var app = { app.loadLocalManifest(); // Check for new updates - app.checkForUpdate(app.start, app.start); + //app.checkForUpdate(app.start, app.start); // Update Reminder app.updateTimeout = setTimeout( app.checkForLastUpdateCheck, app.manifest.meta.updateFreq ); // Touch events faster response patch FastClick.attach(document.body); + + // Start Application + app.start(); }, initFileSystem: function(){ @@ -1028,7 +1031,7 @@ var app = { prev, next; - console.warn(app.previousPage + " -> " + page); + //console.warn(app.previousPage + " -> " + page); // Hack of the century ? if(app.ignoreHash){ return false; } @@ -1125,7 +1128,7 @@ var app = { var back = page === 'home'; - console.log(app.pageHistory.join(',')+ " (index = "+app.pageIndex+")"); + //console.log(app.pageHistory.join(',')+ " (index = "+app.pageIndex+")"); if (app.pageHistory.length/* && app.historyLength == length*/) { // Goind Back