view tests/js-timer/timer-single.js @ 299:e60125973197

Tests: add test for server-me, #559
author David Demelier <markand@malikania.fr>
date Fri, 14 Oct 2016 21:20:36 +0200
parents 6635b9187d71
children
line wrap: on
line source

count = 0;

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

    t.start();
}