Mercurial > irccd
view tests/src/libirccd-js/js-api-timer/timer.js @ 824:06cc2f95f479
misc: happy new year!
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 08 Jan 2019 20:41:20 +0100 |
parents | 8c44bbcbbab9 |
children |
line wrap: on
line source
count = 0; function onLoad() { if (typeof (type) === "undefined") throw Error("global timer type not defined"); t = new Irccd.Timer(type, 50, function () { count += 1; }); t.start(); }