[webkit-dev] High Resolution Timer API proposal(s)
Aaron Boodman
aa at google.com
Thu Oct 2 19:15:07 PDT 2008
On Thu, Oct 2, 2008 at 7:08 PM, Alex Iskander <alex at ialexi.com> wrote:
> I agree. "Repeating", it seems to me, should be an optional argument; the
> callback and time, on the other hand, are completely necessary.
Good point.
> The default value for "repeating" is probably up for debate. Would more web
> developers use it for repitition, or for single-use? For high resolution
> purposes (the original purpose of the proposed API), it seems more likely to
> be one use only.
I think it usually makes sense to have optional boolean params default
to false, since undefined coerces to false in JS.
- a
More information about the webkit-dev
mailing list