Mercurial > irccd
view tests/data/timer.js @ 1089:16e66403ea66
plugins: substitute IRCCD_VERSION in Javascript plugins
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 21 Jul 2021 15:33:17 +0200 |
parents | 371e1cc2c697 |
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(); }