mapcomplete/test.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2023-07-16 01:50:06 +02:00
<!DOCTYPE html>
<html>
<head>
<title>Small tests</title>
<link href="./css/mobile.css" rel="stylesheet"/>
<link href="./css/openinghourstable.css" rel="stylesheet"/>
<link href="./css/tagrendering.css" rel="stylesheet"/>
<link href="./css/index-tailwind-output.css" rel="stylesheet"/>
<link href="./css/wikipedia.css" rel="stylesheet"/>
<link href="css/ReviewElement.css" rel="stylesheet"/>
<meta content="website" property="og:type">
<meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport">
</head>
<body>
<div id="maindiv" class="w-full">'maindiv' not attached</div>
2023-07-16 19:11:28 +02:00
<script type="module" src="./src/test.ts"></script>
2023-07-16 01:50:06 +02:00
<script>
window.addEventListener('load', () => {
if ('serviceWorker' in navigator) {
// register service worker
navigator.serviceWorker.register('/service-worker.js').then(
() => {
console.log('SW registration successful');
},
err => {
console.error('SW registration failed', err)
});
} else {
console.error("Service workers are not supported")
}
});
</script>
</body>
</html>