From c5f51e94ca03cf77a0f22b80ff672ea85539c9e2 Mon Sep 17 00:00:00 2001 From: raoul Date: Fri, 24 Dec 2021 02:28:07 +0100 Subject: [PATCH] Adapt to new json format --- public/index.html | 2 +- ...1b6f07ff5cb8036bab2309230d7a7a17d3e31366332852678adbaf.js} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename public/{main.a55a1f2e9cf4680a90c5ba10a56774cc3eb771e1ac4d87608327474e6bc0b664.js => main.70ebfdc7bf1b6f07ff5cb8036bab2309230d7a7a17d3e31366332852678adbaf.js} (98%) diff --git a/public/index.html b/public/index.html index 1b52768..9470100 100644 --- a/public/index.html +++ b/public/index.html @@ -11,6 +11,6 @@ - + \ No newline at end of file diff --git a/public/main.a55a1f2e9cf4680a90c5ba10a56774cc3eb771e1ac4d87608327474e6bc0b664.js b/public/main.70ebfdc7bf1b6f07ff5cb8036bab2309230d7a7a17d3e31366332852678adbaf.js similarity index 98% rename from public/main.a55a1f2e9cf4680a90c5ba10a56774cc3eb771e1ac4d87608327474e6bc0b664.js rename to public/main.70ebfdc7bf1b6f07ff5cb8036bab2309230d7a7a17d3e31366332852678adbaf.js index d84fd69..44ee974 100644 --- a/public/main.a55a1f2e9cf4680a90c5ba10a56774cc3eb771e1ac4d87608327474e6bc0b664.js +++ b/public/main.70ebfdc7bf1b6f07ff5cb8036bab2309230d7a7a17d3e31366332852678adbaf.js @@ -1,6 +1,6 @@ "use strict"; (() => { - // ns-hugo:/home/raoul-web/rc3_2021/html-infobeamer-content/assets/js/dom.js + // ns-hugo:/home/raoul/rc3_2021/html-infobeamer-content/assets/js/dom.js var html = htm.bind(preact.h); var schedule_meta_here_dom = (schedule) => { let inner = html`${schedule.map((talk) => html` @@ -145,7 +145,7 @@ ${twitterDom} musicWorker.onmessage = function(e) { let msgType = e.data.msgType; if (msgType === musicType) { - musicData = JSON.constructor([e.data.json.current]); + musicData = JSON.constructor([e.data.json]); let time = e.data.timestamp; console.log("Message: " + msgType + " at " + time); console.log(musicData);