-
Notifications
You must be signed in to change notification settings - Fork 553
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
Lifecycle and events during ServiceWorker installation #42
Comments
After more testing I realised that I was wrong about wittr/public/js/main/IndexController.js Lines 20 to 22 in 4e5b877
wittr/public/js/main/IndexController.js Lines 29 to 32 in 4e5b877
|
👍 |
Thanks for opening this issue. I was going nuts about this, because I didn't understand the reason why I didn't see any reason why both branches had to exist, but I thought I was doing something wrong. Thanks A LOT for confirming my suspicions: the |
Thanks for the great examples and it was interesting going through them on the Mobile Web Specialist track at Udacity.
I have a question about the block of code found at the file
wittr/public/js/main/IndexController.js
Lines 29 to 32 in 4e5b877
While testing it I believe this is called by the first service worker that is installed on the browser. So when updating the service worker implementation this will not get called since reg.installing will be null for the new service worker.
And since that code block occurs after the block
wittr/public/js/main/IndexController.js
Lines 20 to 22 in 4e5b877
It will be great if my assumption can be verified. Thanks
The text was updated successfully, but these errors were encountered: