view tests/js-timer/timer-repeat.js @ 237:93b21652404f

Irccd: unify transports in transport.[hc]pp
author David Demelier <markand@malikania.fr>
date Fri, 12 Aug 2016 15:34:03 +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();
}