Adapt to new json format
This commit is contained in:
parent
ea5f956e3d
commit
c5f51e94ca
|
@ -11,6 +11,6 @@
|
|||
</main>
|
||||
<script src=https://infobeamer.montage2.de/js/preact/preact.min.0c204e20934f1e09cfe86fbcf1d069d842f988fc71efe3a923021c08892c71c8.js integrity="sha256-DCBOIJNPHgnP6G+88dBp2EL5iPxx7+OpIwIcCIksccg="></script>
|
||||
<script src=https://infobeamer.montage2.de/js/htm/htm.80e39afe20fd61183412eda89efa10532d57945e6364642aceacd50eb2384b4b.js integrity="sha256-gOOa/iD9YRg0Eu2onvoQUy1XlF5jZGQqzqzVDrI4S0s="></script>
|
||||
<script src=https://infobeamer.montage2.de/main.a55a1f2e9cf4680a90c5ba10a56774cc3eb771e1ac4d87608327474e6bc0b664.js integrity="sha256-pVofLpz0aAqQxboQpWd0zD63ceGsTYdggydHTmvAtmQ=" type=module></script>
|
||||
<script src=https://infobeamer.montage2.de/main.70ebfdc7bf1b6f07ff5cb8036bab2309230d7a7a17d3e31366332852678adbaf.js integrity="sha256-cOv9x78bbwf/XLgDa6sjCSMNenoX0+MTZjMoUmeK268=" type=module></script>
|
||||
</body>
|
||||
</html>
|
|
@ -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);
|
Loading…
Reference in New Issue