From 6163dc4a9f28ddf24c3cf80112431e5b0e1f9e5c Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 21 Jun 2013 16:55:46 +0000 Subject: [PATCH] --- _index.html | 2 +- js/main.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_index.html b/_index.html index 60bb4781..c21aaf22 100644 --- a/_index.html +++ b/_index.html @@ -1,5 +1,5 @@ - +> <!-- $titre --> diff --git a/js/main.js b/js/main.js index 97216286..59aa1b1c 100644 --- a/js/main.js +++ b/js/main.js @@ -14,16 +14,21 @@ $(function() { if (Modernizr.applicationcache) { applicationCache.addEventListener('updateready', cacheUpdated, false); applicationCache.addEventListener('downloading', function(e) { + console.log('cache downloading'); }, false); applicationCache.addEventListener('cached', function(e) { + console.log('cache completed'); fluidbook.video.initCache(); }, false); applicationCache.addEventListener('noupdate', function(e) { + console.log('cache nothing to update'); fluidbook.video.initCache(); }, false); applicationCache.addEventListener('checking', function(e) { + console.log('cache check'); }, false); applicationCache.addEventListener('error', function(e) { + console.log('cache error'); }, false); } -- 2.39.5