summaryrefslogtreecommitdiffstats
path: root/theme/javascript/utils/appcache.js
diff options
context:
space:
mode:
Diffstat (limited to 'theme/javascript/utils/appcache.js')
-rw-r--r--theme/javascript/utils/appcache.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/theme/javascript/utils/appcache.js b/theme/javascript/utils/appcache.js
deleted file mode 100644
index e813ab0..0000000
--- a/theme/javascript/utils/appcache.js
+++ /dev/null
@@ -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
- };
-}); \ No newline at end of file