view tests/js-timer/timer-repeat.js @ 268:4f4b9c290395

Docs: rename highlight.js to highlight.min.js, closes #538
author David Demelier <markand@malikania.fr>
date Sun, 18 Sep 2016 09:55:56 +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();
}