view tests/js-timer/timer-single.js @ 0:1158cffe5a5e

Initial import
author David Demelier <markand@malikania.fr>
date Mon, 08 Feb 2016 16:43:14 +0100
parents
children 6635b9187d71
line wrap: on
line source

count = 0;

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

	t.start();
}