view tests/js-timer/timer-single.js @ 12:960e03040ddf

Docs: add missing highlight.js and make pre in white
author David Demelier <markand@malikania.fr>
date Wed, 10 Feb 2016 14:18:15 +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();
}