@@ -20,21 +20,23 @@ if (!self.define) {
2020 let nextDefineUri ;
2121
2222 const singleRequire = ( uri , parentUri ) => {
23- uri = new URL ( uri + '.js' , parentUri ) . href ;
24- return (
25- registry [ uri ] ||
26- new Promise ( ( resolve ) => {
27- if ( 'document' in self ) {
28- const script = document . createElement ( 'script' ) ;
29- script . src = uri ;
30- script . onload = resolve ;
31- document . head . appendChild ( script ) ;
32- } else {
33- nextDefineUri = uri ;
34- importScripts ( uri ) ;
35- resolve ( ) ;
36- }
37- } ) . then ( ( ) => {
23+ uri = new URL ( uri + ".js" , parentUri ) . href ;
24+ return registry [ uri ] || (
25+
26+ new Promise ( resolve => {
27+ if ( "document" in self ) {
28+ const script = document . createElement ( "script" ) ;
29+ script . src = uri ;
30+ script . onload = resolve ;
31+ document . head . appendChild ( script ) ;
32+ } else {
33+ nextDefineUri = uri ;
34+ importScripts ( uri ) ;
35+ resolve ( ) ;
36+ }
37+ } )
38+
39+ . then ( ( ) => {
3840 let promise = registry [ uri ] ;
3941 if ( ! promise ) {
4042 throw new Error ( `Module ${ uri } didn’t register its module` ) ;
@@ -45,29 +47,27 @@ if (!self.define) {
4547 } ;
4648
4749 self . define = ( depsNames , factory ) => {
48- const uri =
49- nextDefineUri || ( 'document' in self ? document . currentScript . src : '' ) || location . href ;
50+ const uri = nextDefineUri || ( "document" in self ? document . currentScript . src : "" ) || location . href ;
5051 if ( registry [ uri ] ) {
5152 // Module is already loading or loaded.
5253 return ;
5354 }
5455 let exports = { } ;
55- const require = ( depUri ) => singleRequire ( depUri , uri ) ;
56+ const require = depUri => singleRequire ( depUri , uri ) ;
5657 const specialDeps = {
5758 module : { uri } ,
5859 exports,
59- require,
60+ require
6061 } ;
61- registry [ uri ] = Promise . all (
62- depsNames . map ( ( depName ) => specialDeps [ depName ] || require ( depName ) ) ,
63- ) . then ( ( deps ) => {
62+ registry [ uri ] = Promise . all ( depsNames . map (
63+ depName => specialDeps [ depName ] || require ( depName )
64+ ) ) . then ( deps => {
6465 factory ( ...deps ) ;
6566 return exports ;
6667 } ) ;
6768 } ;
6869}
69- define ( [ './workbox-5357ef54' ] , function ( workbox ) {
70- 'use strict' ;
70+ define ( [ './workbox-5357ef54' ] , ( function ( workbox ) { 'use strict' ;
7171
7272 self . skipWaiting ( ) ;
7373 workbox . clientsClaim ( ) ;
@@ -77,19 +77,13 @@ define(['./workbox-5357ef54'], function (workbox) {
7777 * requests for URLs in the manifest.
7878 * See https://goo.gl/S9QRab
7979 */
80- workbox . precacheAndRoute (
81- [
82- {
83- url : 'index.html' ,
84- revision : '0.3rdphr8mv9' ,
85- } ,
86- ] ,
87- { } ,
88- ) ;
80+ workbox . precacheAndRoute ( [ {
81+ "url" : "index.html" ,
82+ "revision" : "0.4dc0mgfghpg"
83+ } ] , { } ) ;
8984 workbox . cleanupOutdatedCaches ( ) ;
90- workbox . registerRoute (
91- new workbox . NavigationRoute ( workbox . createHandlerBoundToURL ( 'index.html' ) , {
92- allowlist : [ / ^ \/ $ / ] ,
93- } ) ,
94- ) ;
95- } ) ;
85+ workbox . registerRoute ( new workbox . NavigationRoute ( workbox . createHandlerBoundToURL ( "index.html" ) , {
86+ allowlist : [ / ^ \/ $ / ]
87+ } ) ) ;
88+
89+ } ) ) ;
0 commit comments