publiclab/image-sequencer

View on GitHub
examples/lib/cache.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function setupCache has 66 lines of code (exceeds 25 allowed). Consider refactoring.
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() {
Severity: Major
Found in examples/lib/cache.js - About 2 hrs to fix

There are no issues that match your filters.

Category
Status