|
|
|
@ -1,15 +1,21 @@
|
|
|
|
async function initCache() {
|
|
|
|
async function initCache() {
|
|
|
|
const cache = await caches.open('v1')
|
|
|
|
const cache = await caches.open('v1')
|
|
|
|
await cache.addAll([
|
|
|
|
await cache.addAll([
|
|
|
|
'/',
|
|
|
|
|
|
|
|
'/index.html',
|
|
|
|
|
|
|
|
'/app.js',
|
|
|
|
'/app.js',
|
|
|
|
'/components/page.js',
|
|
|
|
'/components/file-group-page.js',
|
|
|
|
'/components/layout.js',
|
|
|
|
|
|
|
|
'/components/header.js',
|
|
|
|
'/components/header.js',
|
|
|
|
|
|
|
|
'/components/layout.js',
|
|
|
|
'/components/nav-menu.js',
|
|
|
|
'/components/nav-menu.js',
|
|
|
|
|
|
|
|
'/components/page.js',
|
|
|
|
'/dialog/dialog.js',
|
|
|
|
'/dialog/dialog.js',
|
|
|
|
|
|
|
|
'/editor/app.js',
|
|
|
|
|
|
|
|
'/editor/file-group.js',
|
|
|
|
|
|
|
|
'/editor/file-view.js',
|
|
|
|
|
|
|
|
'/editor/text-edit.js',
|
|
|
|
'/forms/button-group.js',
|
|
|
|
'/forms/button-group.js',
|
|
|
|
|
|
|
|
'/index.html',
|
|
|
|
|
|
|
|
'/loader/builder.js',
|
|
|
|
|
|
|
|
'/loader/editor-build.js',
|
|
|
|
'/menu/dropdown.js',
|
|
|
|
'/menu/dropdown.js',
|
|
|
|
]) //2
|
|
|
|
]) //2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|