Steve Upton a écrit :
> I'm trying to transition from Prototype 1.5.x to 1.6.x and now I have
> code (a cross-site plug-in) that is complaining about the absence of
> Request.setOptions(xxx)

That's monkey-patching: Ajax.Request#setOptions was never a part of the 
public API, so the code you're mentioning was relying on an internal 
implementation detail…

> When I search for setOptions in Proto 1.5 it's there but I can't find
> it in Proto 1.6.x.

Yes, it's been refactored when Tobie introduced Ajax.Response.

> I'm OK with it changing into something else, the problem is that I
> can't seem to find any documentation anywhere for the function OR its
> replacement in 1.6

It's embedded in the initialize function now (which doesn't do much 
else).  I can't say overwriting that would be clean or safe…

-- 
Christophe Porteneuve aka TDD
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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