From 8137bfe94ff78e95e98cf54fdbffafc41e836e33 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Wed, 2 Dec 2015 14:11:57 +0000 Subject: [PATCH] Use Service Workers instead of AppCache, if available. Fixes #979 --- app/index.html | 1 + app/js/init.js | 64 --------------------------- app/js/offline-manager.js | 92 +++++++++++++++++++++++++++++++++++++++ gulpfile.js | 34 ++++++++++----- package.json | 1 + 5 files changed, 116 insertions(+), 76 deletions(-) create mode 100644 app/js/offline-manager.js diff --git a/app/index.html b/app/index.html index 85bffe06..478fc73c 100644 --- a/app/index.html +++ b/app/index.html @@ -80,6 +80,7 @@ +