Experiments with appcache part 24

This commit is contained in:
Yord 2015-03-24 22:48:32 +01:00
parent a8d8bcdc86
commit 67d39d2dc9
2 changed files with 4 additions and 3 deletions

View file

@ -48,7 +48,9 @@
<script type="text/javascript"> <script type="text/javascript">
(function(){ (function(){
var webappCache = window.applicationCache; var webappCache = window.applicationCache;
webappCache.addEventListener("updateready", function() { webappCache.swapCache(); }, false); if (webappCache) {
webappCache.addEventListener("updateready", function() { webappCache.update(); webappCache.swapCache(); }, false);
}
})(); })();
</script> </script>
</body> </body>

View file

@ -1,8 +1,7 @@
CACHE MANIFEST CACHE MANIFEST
# 2015-03-24.v2 # 2015-03-24.v3
CACHE: CACHE:
# index
# Character Creater # Character Creater
/Character/ /Character/