Remove appCache handling from client js

This commit is contained in:
Samy Pessé
2014-08-09 18:15:41 -07:00
parent e917fd28e0
commit 6d841c909b
3 changed files with 2 additions and 21 deletions
-15
View File
@@ -1,15 +0,0 @@
define([], function() {
var isAvailable = (typeof applicationCache !== "undefined");
var init = function() {
if (!isAvailable) return;
window.applicationCache.addEventListener('updateready', function() {
window.location.reload();
}, false);
};
return {
init: init
};
});