From e55b1cf7ba13e06a99be9b7b00193a3f88156bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20R=C3=BC=C3=9Fler?= Date: Fri, 7 Jul 2023 12:51:47 +0200 Subject: [PATCH] Update formatting This became necessary after the update to Prettier 3.0. --- app/js/app.js | 2 +- app/js/worker.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/js/app.js b/app/js/app.js index d88f795..528711f 100644 --- a/app/js/app.js +++ b/app/js/app.js @@ -15,5 +15,5 @@ const worker = new Worker(new URL("./worker.js", import.meta.url), { app.ports.sendCommand.subscribe((command) => worker.postMessage(command)); worker.addEventListener("message", (event) => - app.ports.receiveResult.send(event.data) + app.ports.receiveResult.send(event.data), ); diff --git a/app/js/worker.js b/app/js/worker.js index ef9be04..efdfbe2 100644 --- a/app/js/worker.js +++ b/app/js/worker.js @@ -3,7 +3,7 @@ import { Elm } from "../elm/Worker.elm"; const worker = Elm.Worker.init(); self.addEventListener("message", (event) => - worker.ports.receiveCommand.send(event.data) + worker.ports.receiveCommand.send(event.data), ); worker.ports.sendResult.subscribe((result) => self.postMessage(result));