-
Notifications
You must be signed in to change notification settings - Fork 876
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
used async/syntax for better readability & performance #4144
base: master
Are you sure you want to change the base?
Conversation
Simplified fetch event handling
console.log("[PWA Builder] Caching pages during install"); | ||
return cache.addAll(precacheFiles); | ||
}) | ||
); | ||
}); | ||
|
||
// Allow sw to control of current page | ||
self.addEventListener("activate", function (event) { | ||
// eslint-disable-next-line no-console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you remove this line?
Did I? Let me check
…On Sun, 15 Dec, 2024, 6:27 pm amrit, ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In sw.js
<#4144 (comment)>
:
> console.log("[PWA Builder] Caching pages during install");
return cache.addAll(precacheFiles);
})
);
});
-// Allow sw to control of current page
-self.addEventListener("activate", function (event) {
- // eslint-disable-next-line no-console
why did you remove this line?
—
Reply to this email directly, view it on GitHub
<#4144 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6J4JNXZIV3FUICQKS3IBGT2FV4C5AVCNFSM6AAAAABTTWHUB2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKMBUGU2TCMBRGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Can you please elaborate on the what and why of your changes? |
|
you just need to test the file it looks good but attaching a working video of music blocks will be good enough since you have not added any description |
Yes. Please explain why and how you tested your changes. |
Simplified fetch event handling