Situation & problem:

I'm returning a lot of pure javascript in my responses and I have one
particular case where I'd like the headers to remain "application/
javascript", but for Prototype to NOT automatically evaulate the code,
and just provide it to me so I can eval it myself?

Reason being:

I've noticed that when prototypes Ajax.Request auto-evals, it does it
at the highest point in the scope chain, rather than where it was
instantiated.

An alternate solution:
Maybe there's a way of controlling the scope of the automatic eval
prototype does?

Thanks a lot, and keep up the spect"acul"(ous)ar work!


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to