gururajbm / custom-select-tdd

Variable used before definition JS-0129
Bug risk
Major
2 occurrences in this check
'registerValidSW' was used before it was defined
 48        });
 49      } else {
 50        // Is not localhost. Just register service worker
 51        registerValidSW(swUrl, config); 52      }
 53    });
 54  }
'checkValidServiceWorker' was used before it was defined
 36
 37      if (isLocalhost) {
 38        // This is running on localhost. Let's check if a service worker still exists or not.
 39        checkValidServiceWorker(swUrl, config); 40
 41        // Add some additional logging to localhost, pointing developers to the
 42        // service worker/PWA documentation.