html5-infobeamer-aalen-geek.../assets/js/custom/nodes/voc-speaker.js

44 lines
647 B
JavaScript
Raw Normal View History

2023-11-01 01:59:19 +01:00
'use strict';
import * as fe from "../core/fetcher.js";
import * as ti from "../core/time.js";
import * as sc from "../core/screen.js";
// Import services
import * as serv from "../services/general.js";
// Import views
import * as domman from "../dom/voc-speaker.js";
// Empty JSON lists for data
let storage = {
scheduleData: undefined
};
let do_fetch = fe.configure({}, serv);
do_fetch(storage);
// Main Loop
let screen_update = sc.configure(serv ,domman);
let cfg = {
};
// Just do it
function main_loop() {
screen_update(storage, ti, cfg);
// update_screen();
setTimeout(main_loop, 10 * 100);
};
main_loop();