add note to future

This commit is contained in:
Felix Roos 2024-03-07 12:35:39 +01:00
parent 2fcbffeaf9
commit 8dba865ca7
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
// eslint-disable-next-line no-undef
importScripts('./neozyklus.js');
// TODO: swap below line with above one when firefox supports esm imports in service workers
// see https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker?retiredLocale=de#browser_compatibility
// import createClock from './zyklus.mjs';
function getTime() {
const precision = 10 ** 4;