pis #1
@ -1,5 +1,5 @@
|
|||||||
/* All Page Init */
|
/* All Page Init */
|
||||||
const version = '2.0.0-testing'
|
const version = '2.0.0'
|
||||||
|
|
||||||
/* Feature Detectors */
|
/* Feature Detectors */
|
||||||
|
|
||||||
|
2
pis.html
2
pis.html
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
<div id="crs-box">
|
<div id="crs-box">
|
||||||
<p>Enter a services start and end station CRS codes to see code options and stopping patterns.</p>
|
<p>Enter a services start and end station CRS codes to see code options and stopping patterns.</p>
|
||||||
<p>Currently supported (Beta): GWR: Up/Dn SVB-EXD, Dn CDF-PNZ, Up/Dn GMV/CDF-PMH, HEx</p>
|
<p>Currently supported (Beta): GWR: Up/Dn SVB-EXD, Dn CDF-PNZ, Up/Dn GMV/CDF-PMH, HEx<br>Duplicate stopping patterns have been removed.</p>
|
||||||
<p id="auth-required">You need to be logged into a free <a href="./settings.html">rail staff version</a> account for this feature.</p>
|
<p id="auth-required">You need to be logged into a free <a href="./settings.html">rail staff version</a> account for this feature.</p>
|
||||||
<form action="javascript:findByOrigDest();">
|
<form action="javascript:findByOrigDest();">
|
||||||
<div id="crs-inputs">
|
<div id="crs-inputs">
|
||||||
|
8
sw.js
8
sw.js
@ -1,9 +1,9 @@
|
|||||||
/* Service Worker */
|
/* Service Worker */
|
||||||
|
|
||||||
const appVersion = '2.0.0-rc-20230505001'
|
const swVersion = '2.0.0-20230506'
|
||||||
const cacheName = `owlboard-${appVersion}`
|
const cacheName = `owlboard-${swVersion}`
|
||||||
const cacheIDs = [cacheName]
|
const cacheIDs = [cacheName]
|
||||||
const staticCache = [
|
let staticCache = [
|
||||||
'/styles/fonts/firamono/firamono-500.woff2',
|
'/styles/fonts/firamono/firamono-500.woff2',
|
||||||
'/styles/fonts/firamono/firamono-regular.woff2',
|
'/styles/fonts/firamono/firamono-regular.woff2',
|
||||||
'/styles/fonts/urwgothic/urwgothic.woff2',
|
'/styles/fonts/urwgothic/urwgothic.woff2',
|
||||||
@ -54,7 +54,7 @@ const dynamicCache = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
for(let i = 0; i < dynamicCache.length; i++) {
|
for(let i = 0; i < dynamicCache.length; i++) {
|
||||||
let item = dynamicCache[i] + `?${appVersion}`
|
let item = dynamicCache[i] + `?${swVersion}`
|
||||||
staticCache.push(item)
|
staticCache.push(item)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user