view tests/js-timer/timer-repeat.js @ 254:93a227277786

Irccd: various fixes for further cross-compilation
author David Demelier <markand@malikania.fr>
date Mon, 05 Sep 2016 12:53:13 +0200
parents 6635b9187d71
children
line wrap: on
line source

count = 0;

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

    t.start();
}