[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webkit-dev
Subject:    Re: [webkit-dev] Proposed Timer API
From:       George Staikos <staikos () kde ! org>
Date:       2008-10-03 10:29:35
Message-ID: 9144991D-F5C2-4F31-B11C-3B799237C08D () kde ! org
[Download RAW message or body]


On 3-Oct-08, at 3:01 AM, Cameron McCormack wrote:

> Hi Maciej.
>
> Cameron McCormack:
>>> If possible, it would be nice if there could be some degree of
>>> compatibility between this proposed API and the one in SVG Tiny 1.2:
>>>
>>>  http://dev.w3.org/SVG/profiles/1.2T/publish/ 
>>> svgudom.html#svg__SVGTimer
>
> Maciej Stachowiak:
>> I considered that, but I don't like the fact that it makes the common
>> zero-delay continuation callback case into three lines of code  
>> instead
>> of one, for what I think is no practical benefit.
>
> Justin’s proposed API seems to need four lines for that case:
>
>   var t = new Timer();
>   t.repeatCount = 1;

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

    I like Maciej's simple proposal better.

--
George Staikos
Torch Mobile Inc.
http://www.torchmobile.com/

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic