view tests/js-timer/timer-repeat.js @ 30:1ea775153cdc

Plugin hangman: various fixes in the documentation
author David Demelier <markand@malikania.fr>
date Mon, 22 Feb 2016 13:13:15 +0100
parents 1158cffe5a5e
children 6635b9187d71
line wrap: on
line source

count = 0;

function onLoad()
{
	t = new Irccd.Timer(Irccd.Timer.Repeat, 500, function () {
		count += 1;
	});

	t.start();
}