1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-08 04:51:06 -07:00
moth/www/res/messages.js

18 lines
368 B
JavaScript

var messages_proc;
function Messages(element) {
var term = new Terminal(element);
this.start = function() {
term.clear();
term.par("Messages terminal");
}
}
function messages_start() {
messages_proc = new Messages(document.getElementById("messages"));
setTimeout(messages_proc.start, 500);
}
window.addEventListener("load", messages_start);