examples/lib/cache.js
Function setupCache
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var setupCache = function() {
let newWorker; // When sw.js is changed, this is the new service worker generated.
// Toggle a CSS class to display a popup prompting the user to fetch a new version.
function showUpdateModal() {
- Create a ticketCreate a ticket