matrix-engine
Version:
basic_timeline improved, VT func setup vide html element id with name arg.- DISABLE RAYCAST DEBUG TEST [2.3.3] Fix for GUI win desktop [2.3.0] DestrucMesh solution & loading convex objs for physics BASIC, SpriteAnimation CPU/texture solution added, Improv
28 lines (24 loc) • 720 B
HTML
<html>
<head>
<meta charset="UTF-8">
<title>Offline</title>
</head>
<body>
<div style="text-align:center; margin-top:40px;">
<img src="./img/online.svg" width="80" height="80">
<p>Nice! You are currently online.</p>
<div>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('./service-worker.js').then(function(registration) {
console.log('ServiceWorker registration successful with scope: ', registration.scope);
}).catch(function(err) {
console.log('ServiceWorker registration failed: ', err);
});
}
</script>
</div>
</div>
</body>
</html>