Timers and other features for Heroes of the Storm
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 

17 Zeilen
795 B

  1. // This service worker file is effectively a 'no-op' that will reset any
  2. // previous service worker registered for the same host:port combination.
  3. // In the production build, this file is replaced with an actual service worker
  4. // file that will precache your site's local assets.
  5. // See https://github.com/facebookincubator/create-react-app/issues/2272#issuecomment-302832432
  6. self.addEventListener('install', () => self.skipWaiting());
  7. self.addEventListener('activate', () => {
  8. self.clients.matchAll({ type: 'window' }).then(windowClients => {
  9. for (let windowClient of windowClients) {
  10. // Force open pages to refresh, so that they have a chance to load the
  11. // fresh navigation response from the local dev server.
  12. windowClient.navigate(windowClient.url);
  13. }
  14. });
  15. });