remove testing method from script file

This commit is contained in:
Ondrej Synacek 2019-11-05 21:11:00 +01:00
parent 4984a26aa7
commit 1117fe3525
3 changed files with 3 additions and 4 deletions

View File

@ -199,7 +199,6 @@
}).catch(reject) }).catch(reject)
}) })
} }
window.postURL = postURL
const form = document.querySelector('form') const form = document.querySelector('form')
const submitButton = document.querySelector("#submit") const submitButton = document.querySelector("#submit")

View File

@ -1,4 +1,4 @@
// Worker v7 // Worker v8
self.addEventListener('install', (event) => { self.addEventListener('install', (event) => {
event.waitUntil( event.waitUntil(
@ -6,7 +6,7 @@ self.addEventListener('install', (event) => {
return cache.addAll([ return cache.addAll([
'/', '/',
'/favicon.ico', '/favicon.ico',
'/scripts.js?3', '/scripts.js?4',
'/style.css?5', '/style.css?5',
'/about?2', '/about?2',
'/icon-512.png', '/icon-512.png',

View File

@ -79,6 +79,6 @@
<a href="/about" target="_blank" title="About the project">About</about> <a href="/about" target="_blank" title="About the project">About</about>
</footer> </footer>
<script src="/scripts.js?3"></script> <script src="/scripts.js?4"></script>
</body> </body>
</html> </html>