view tests/js-timer/timer-single.js @ 282:c234b8db1816 release-2.0

Plugin auth: fix error with quakenet, closes #506
author David Demelier <markand@malikania.fr>
date Tue, 01 Nov 2016 13:10:20 +0100
parents 1158cffe5a5e
children 6635b9187d71
line wrap: on
line source

count = 0;

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

	t.start();
}