view tests/js-timer/timer-repeat.js @ 312:a0180b5a150c

Tests: add test for plugin-config, #559
author David Demelier <markand@malikania.fr>
date Sat, 22 Oct 2016 15:56:01 +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();
}