Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update manifoldjs-sw.js #3

Merged
merged 1 commit into from Feb 24, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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);
});
});
});