Justin Haygood:
> How about a static:
>
> Timer::startTimer(function(),delayInSeconds) ?

Browser JS APIs tend not to use static methods, i.e. functions on
constructor objects.  Whether that’s because the IDL being used doesn’t
support such a construct I’m not sure.  So usually those functions end
up on the Window object, at which point this suggestion seems to be
quite similar to Maciej’s proposal.

-- 
Cameron McCormack ≝ http://mcc.id.au/
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to