|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
For what reasons? If it is only for UI responsiveness, I call the function either like this, for instance,
window.setTimeout('document.getElementById("version").innerHTML = getWidgetVersion();', 0);
or I call it within a callback (XMLHttpRequest-onload, for instance), which is already decoupled from the UI code.
Otherwise I have to split every part in the code where the data is needed into a "get the info" and "handle the info" part...
Are there any other reasons to avoid syncronous calls to widget.system?
_______________________________________________ Do not post admin requests to the list. They will be ignored. Dashboard-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
|>Reading from Info.plist (CFBundleVersion) (From: Dirty Harry <email@hidden>)|
|>Re: Reading from Info.plist (CFBundleVersion) (From: John Louch <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.