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

18 lines
360 B
JavaScript

var puzzles_proc;
function Puzzles(element) {
var term = new Terminal(element);
this.start = function() {
term.clear();
term.par("Puzzles terminal");
}
}
function puzzles_start() {
puzzles_proc = new Puzzles(document.getElementById("puzzles"));
setTimeout(puzzles_proc.start, 3000);
}
window.addEventListener("load", puzzles_start);