Thread-topic: A suggestion for a simple modification to the widget object
User-agent: Microsoft-Entourage/11.2.1.051004
Sleeping your widget is not something we want you to do ever. If you need
to wait you should use a timer.
Thanks,
jl
> There is one major thing that is missing from javascript core, and yet
> is extremely simple - we need a widget.sleep(milliseconds) or
> widget.wait(milliseconds) function. As of right now, the only way to
> emulate this is with burning cpu cycles in a while loop with
> setTimeout. Of course, it can be done with widget.system calls, but I
> prefer not to use widget.system unless absolutely necessary, since I
> for one have an aversion to running a widget that uses widget.system
> calls (security reasons).
>
> This would be ridiculously easy to add!
>
> Please, please, any Apple Dashboard team members, consider adding this!
>
> Thanks
> Lokkju
> email@hidden
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Dashboard-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/dashboard-dev/email@hidden
>
> This email sent to email@hidden
--------------------------------------------------
John Louch Internet #: email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden
This email sent to email@hidden