view tests/js-timer/timer-single.js @ 510:6ec510722582

CMake: enable vera++ as code checking, closes #603
author David Demelier <markand@malikania.fr>
date Thu, 19 Oct 2017 13:01:39 +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();
}