Fair enough. And sorry I missed these replies.
But what about my follow up question about the format functions. I asked
about this on the Google Group too. Steve Atkin responded that he
*thought* the idea was that you would use the result of the format
functions in other JS libraries. It would be
Yeah - if they require a call to exec(), then they have to be async.
On Thu, Mar 28, 2013 at 8:29 AM, Simon MacDonald
wrote:
> Yeah, I too think they could easily be sync methods. The only thing that
> I'd be concerned about is if there still is a limitation on iOS where it
> can't produce sync
Yeah, I too think they could easily be sync methods. The only thing that
I'd be concerned about is if there still is a limitation on iOS where it
can't produce sync results. If that is the case I'd stay with a consistent
API over sync returns.
Simon Mac Donald
http://hi.im/simonmacdonald
On Wed
When I look at all the methods in the Globalization API, they should all
execute quickly in a relatively predictable time period. They aren't going
off-box and aren't compute-heavy. So to me as a casual observer, having them
all run async seems like a bit of overkill. I'm not familiar with the
This possibly falls into the category of something that should be on the
Google group (and actually I did ask there too ;) but I think it also
exposes something not documented very well and maybe this discussion can
lead to something that can be added to the docs.
I've worked with the Globalizatio