text: /*
    service worker installation event
  
    // require utils.js
  */
  
  self.addEventListener('install', event => {
  
    console.log('service worker: install');
  
    // cache core files
    event.waitUntil(
      installStaticFiles()
        .then(() => self.skipWaiting())
    );
  
  });
  