[webkit-dev] Proposed Timer API

Cameron McCormack cam at mcc.id.au
Thu Oct 23 00:15:35 PDT 2008


Hi George.

(Replying after a vacation break…)

Cameron McCormack:
> > Justin’s proposed API seems to need four lines for that case:
> >
> >   var t = new Timer();
> >   t.repeatCount = 1;

George Staikos:
>     Just curious - does that mean "repeat once" or "fire once"?   
> Seems ambiguous on first glance.

Fire once, it seems.  I agree that the use of “repeat” is sometimes
ambiguous.

-- 
Cameron McCormack ≝ http://mcc.id.au/


More information about the webkit-dev mailing list