Skip to content

Commit

Permalink
Merge pull request #3 from englishextra/englishextra-patch-3
Browse files Browse the repository at this point in the history
Update manifoldjs-sw.js
  • Loading branch information
boyofgreen committed Feb 24, 2017
2 parents 0932498 + b9d38c2 commit e8c00c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions serviceWorker1/manifoldjs-sw.js
@@ -1,6 +1,6 @@
//This is the "Offline page" service worker

//Install stage sets up the offline page in the cahche and opens a new cache
//Install stage sets up the offline page in the cache and opens a new cache
self.addEventListener('install', function(event) {
var offlinePage = new Request('offline.html');
event.waitUntil(
Expand Down Expand Up @@ -30,4 +30,4 @@ self.addEventListener('refreshOffline', function(response) {
console.log('[Manifoldjs] Offline page updated from refreshOffline event: '+ response.url);
return cache.put(offlinePage, response);
});
});
});

0 comments on commit e8c00c9

Please sign in to comment.