>>Is this intended as a joke, Mandy :-)?
Not really, but from time to time, people find what I say funny! ;)

>>First: the final 6 lines should read "return xmlhttpcheck;" for the sake
of conciseness w/o loss of readability.

Not necessarily. This is just for checking support. You are not processing 
anything
You don't need to get a reference back to the object. You will show a non ajax
version of the page to the user if no support is enabled and let the user in - 
to the ajax
version if support is enabled, rather than letting him to an ajax version and 
somwhere in
between discovering that there is no ajax support when you send an xmlhttp 
request.

>>Second, this duplicates the code from Ajax.getTransport().  I mean,
scary duplicates, because it doesn't eve

Sure, I did not see your solution. Yes, this is a non-prototypish way.
But, hey - it's just brainstorming here - right? And you can always add
your prototyp'ish way to the above code (if you want).

In the end it's always about what suits you.

Thanks,
Mandy.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to