moth/www/res/overview.js

20 lines
458 B
JavaScript
Raw Normal View History

2016-04-03 21:12:48 -06:00
var overview_proc;
function Overview(element) {
var term = new Terminal(element);
this.start = function() {
term.clear();
term.par("Overview terminal");
2016-04-04 10:40:21 -06:00
term.par("Here you will find something resembling a scoreboard, maybe your team name.")
2016-04-03 21:12:48 -06:00
}
}
function overview_start() {
overview_proc = new Overview(document.getElementById("overview"));
setTimeout(overview_proc.start, 4000);
}
window.addEventListener("load", overview_start);