[Solar-talk] isXml

Andreas Ravnestad andreas.ravnestad at gmail.com
Fri Jan 19 07:45:05 PST 2007


Travis Swicegood wrote:
> Arnaud Limbourg wrote:
>   
>> Anither idea is isAsync
>>     
>
> Play devil's advocate, what happens when it's a sync call?
>
> -T
>   

That means it's a regular http request, and not an AJAX request (the A 
in AJAX means 'Asynchronous'). As for naming, I would prefer isXml() or 
isXhr(), since isAsync() could potentially be misleading. I would even 
prefer isAjax() over isAsync() :)

-AR


More information about the solar-talk mailing list