diff --git a/src/main/resources/static/js/broadcast.js b/src/main/resources/static/js/broadcast.js
index 4e6b262..d16e455 100644
--- a/src/main/resources/static/js/broadcast.js
+++ b/src/main/resources/static/js/broadcast.js
@@ -25,13 +25,9 @@ let renderIntervalId = null;
const audioUnlockEvents = ["pointerdown", "keydown", "touchstart"];
let layerOrder = [];
-function spawnUserJavaScriptWorker() {
+function spawnUserJavaScriptWorker() {}
-}
-
-function stopUserJavaScriptWorker() {
-
-}
+function stopUserJavaScriptWorker() {}
applyCanvasSettings(canvasSettings);
@@ -287,7 +283,7 @@ function applyPatch(assetId, patch) {
return;
}
const merged = normalizePayload({ ...existing, ...sanitizedPatch });
- console.log(merged)
+ console.log(merged);
const isAudio = isAudioAsset(merged);
if (sanitizedPatch.hidden) {
hideAssetWithTransition(merged);
@@ -296,8 +292,8 @@ function applyPatch(assetId, patch) {
const targetLayer = Number.isFinite(patch.layer)
? patch.layer
: Number.isFinite(patch.zIndex)
- ? patch.zIndex
- : null;
+ ? patch.zIndex
+ : null;
if (!isAudio && Number.isFinite(targetLayer)) {
const currentOrder = getLayerOrder().filter((id) => id !== assetId);
const insertIndex = Math.max(0, currentOrder.length - Math.round(targetLayer));
@@ -824,7 +820,7 @@ function setVideoSource(element, asset) {
}
applyVideoSource(element, next.objectUrl, asset);
})
- .catch(() => { });
+ .catch(() => {});
}
function applyVideoSource(element, objectUrl, asset) {
diff --git a/src/main/resources/static/js/broadcastWorkers.js b/src/main/resources/static/js/broadcastWorkers.js
index 34ce58f..6ee5daf 100644
--- a/src/main/resources/static/js/broadcastWorkers.js
+++ b/src/main/resources/static/js/broadcastWorkers.js
@@ -6,10 +6,10 @@ async function spawnUserJavaScriptWorker(asset) {
console.error(`Unable to fetch asset with id:${id} from url:${asset.url}`, error);
return;
}
- const blob = new Blob([assetSource], { type: 'application/javascript' });
+ const blob = new Blob([assetSource], { type: "application/javascript" });
const worker = new Worker(URL.createObjectURL(blob));
worker.onmessage = (event) => {
- console.log('Message from worker:', event.data);
- }
+ console.log("Message from worker:", event.data);
+ };
worker.postMessage(data);
}
diff --git a/src/main/resources/templates/channels.html b/src/main/resources/templates/channels.html
index dd5796b..0abfcef 100644
--- a/src/main/resources/templates/channels.html
+++ b/src/main/resources/templates/channels.html
@@ -35,7 +35,9 @@
autocomplete="off"
/>
-
+