Skip to content

Commit

Permalink
Build for fix-pwa (79a81f4) fix: pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
takaokouji committed Aug 21, 2024
1 parent 6f7eac0 commit 8fba337
Show file tree
Hide file tree
Showing 1,722 changed files with 76,427 additions and 0 deletions.
26,350 changes: 26,350 additions & 0 deletions fix-pwa/30d09ba32a17082ef820b57d52d60b7b.hex

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions fix-pwa/blocks-only.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!doctype html><html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="google" value="notranslate"><link rel="shortcut icon" href="static/favicon.ico"><title>Smalruby: Blocks Only Example</title><script src="static/javascripts/setup-opal.js"></script><style><!--
.ruby-error {
background-color: pink;
position: absolute;
z-index: 3;
}
--></style><script defer="defer" src="blocksonly.js"></script></head><body><script>if ('serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('./service-worker.js').then(function (registration) {
console.log('PWA worker registration successful', registration.scope);
}, function (err) {
console.log('PWA worker registration failed', err);
}).catch(function (err) {
console.log(err);
});
});
} else {
console.log('Service Worker is not supported by browser.');
}</script></body></html>
3 changes: 3 additions & 0 deletions fix-pwa/blocksonly.js

Large diffs are not rendered by default.

Loading

0 comments on commit 8fba337

Please sign in to comment.