aboutsummaryrefslogtreecommitdiff
path: root/appcache.js
diff options
context:
space:
mode:
Diffstat (limited to 'appcache.js')
-rw-r--r--appcache.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/appcache.js b/appcache.js
index 87d5e80..22e347a 100644
--- a/appcache.js
+++ b/appcache.js
@@ -11,7 +11,7 @@ class AppCache {
11 constructor() { 11 constructor() {
12 this.cacheName = "cache"; 12 this.cacheName = "cache";
13 this.filesToCache = [ 13 this.filesToCache = [
14 "viewer.html", 14 ".",
15 "appcache.js", 15 "appcache.js",
16 16
17 "pointless/pdfjs/pdf.js", 17 "pointless/pdfjs/pdf.js",
@@ -51,7 +51,7 @@ class AppCache {
51 return caches.open(this.cacheName).then(function(cache) { 51 return caches.open(this.cacheName).then(function(cache) {
52 return fetch(request).then(function(response) { 52 return fetch(request).then(function(response) {
53 cache.put(request, response.clone()); 53 cache.put(request, response.clone());
54 return response 54 return response;
55 }); 55 });
56 }); 56 });
57 } 57 }