Skip to content
Snippets Groups Projects
Commit c31410ad authored by Giovanni Caruso's avatar Giovanni Caruso
Browse files

Merge branch 'master' into avatar

parents 3bd78f5d 3ee8b98f
No related branches found
No related tags found
1 merge request!55Avatar
Pipeline #105470 passed
{
"env": {
"test": {
"plugins": ["@babel/plugin-transform-modules-commonjs"]
}
}
}
......@@ -5,7 +5,7 @@
"node": true,
"jest": true
},
"extends": "eslint:recommended",
"extends": ["eslint:recommended", "prettier"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
......
This diff is collapsed.
......@@ -13,16 +13,14 @@
/>
<script>
if (navigator.serviceWorker) {
navigator.serviceWorker
.register("service-worker.js")
.then(
(registration) =>
console.log(
`Service worker registered on scope ${registration.scope}`,
),
(reason) =>
console.log(`Service worker failed to register ~ ${reason}`),
)
navigator.serviceWorker.register("service-worker.js").then(
(registration) =>
console.log(
`Service worker registered on scope ${registration.scope}`,
),
(reason) =>
console.log(`Service worker failed to register ~ ${reason}`),
)
}
</script>
</head>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment