-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3196a5
commit 98cf451
Showing
17 changed files
with
49 additions
and
975 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,8 @@ | ||
<meta http-equiv="content-type" content="text/html;charset=utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<link rel="manifest" href="/manifest.json"> | ||
<link rel="stylesheet" href="/css/bulma-${versions['BULMA']}.min.css"> | ||
<link media="all" href="/css/spinorama.css" rel="stylesheet" crossorigin="anonymous"> | ||
<link rel="icon" type="image/png" href="/pictures/favicon-16x16.png" sizes="16x16"> | ||
|
||
<script type="module" src="/js/onload-${versions['CACHE']}${min}.js"></script> | ||
|
||
<script type="module"> | ||
import {Workbox} from "/js3rd/workbox-window-${versions['WORKBOX']}${min}.js"; | ||
|
||
if ('serviceWorker' in navigator) { | ||
const wb = new Workbox('/sw.js'); | ||
|
||
wb.addEventListener('activated', event => { | ||
if (!event.isUpdate) { | ||
console.log('Service worker activated for the first time!'); | ||
} | ||
}); | ||
|
||
wb.addEventListener('waiting', event => { | ||
console.log( | ||
`A new service worker has installed, but it can't activate` + | ||
`until all tabs running the current version have fully unloaded.`); | ||
}); | ||
|
||
wb.addEventListener('message', event => { | ||
if (event.data.type === 'CACHE_UPDATED') { | ||
const {updatedURL} = event.data.payload; | ||
console.log('A newer version of '+updatedURL+' is available!'); | ||
} | ||
}); | ||
|
||
wb.register(); | ||
} | ||
</script> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
<!-- going away step by step --> | ||
<script src="/js3rd/handlebars-${versions['HANDLEBARS']}${min}.js"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.