bulib-wc
Version:
collection of web components and styles used at Boston University Libraries
72 lines (67 loc) • 1.91 kB
JavaScript
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
self.addEventListener('message', (event) => {
if (event.data && event.data.type === 'SKIP_WAITING') {
self.skipWaiting();
}
});
/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [
{
"url": "bundle.css",
"revision": "cc81b1f803b27473ddb2fb213b4c872d"
},
{
"url": "bundle.esm.js",
"revision": "c2cc9dac82a2c63ec0d15092256acaa4"
},
{
"url": "header.css",
"revision": "4e74500aae98dee3a4c00d4501aaec2e"
},
{
"url": "helpers.js",
"revision": "d21298b4b0abacb5137d8bc89525a50c"
},
{
"url": "libanswers.css",
"revision": "4e540f0cd045dfd0274f1617b1a7a5d0"
},
{
"url": "libcal.css",
"revision": "ffdfbd67abbb32340737b64fe5ba41c4"
},
{
"url": "libguides_restyle.css",
"revision": "2e5264e57f7bef23c9032635f8614b54"
},
{
"url": "libguides.css",
"revision": "873f72cc1f1b2f9e699cfec868ca2253"
},
{
"url": "wordpress_homepage.css",
"revision": "3e35854b9a4527ba83359aefb66db95d"
},
{
"url": "wordpress.css",
"revision": "2561ba80af568b47723e0a6ad88a2c88"
}
].concat(self.__precacheManifest || []);
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"));