]> _ Git - fluidbook-html5.git/commitdiff
(no commit message)
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 21 Jun 2013 16:55:46 +0000 (16:55 +0000)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 21 Jun 2013 16:55:46 +0000 (16:55 +0000)
_index.html
js/main.js

index 60bb478123f7cb03bf25c4cd8ef72ddb35de09ab..c21aaf222d0bf7b83157d9450514b6e8dcf16485 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html>\r
-<html>\r
+<html<!-- $cache -->>\r
        <head>\r
                <title><!-- $titre --></title>\r
                <meta charset="utf-8">\r
index 97216286beb6bee1d131e90e408d8f0f009aa94d..59aa1b1c81f23efc4e1eaf9c73e28f5a76c516be 100644 (file)
@@ -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);
        }