Great work, I'm glad you were able to get it working despite IE6's limitations. Looking forward to checking out that patch and giving it a try.
Thanks, Colin tobie wrote: > Hi All, > > Thanks for your patience. I've encountered annoying issues which I > hadn't foreseen, mainly that IE6 doesn't allow modifying or adding > properties to the response object. > > I've dealt with that by cloning the transport when needed... and I'd > like as much input as possible on this proposition as I'm a bit > worried about the possible side effects. > > You can find the patch here: http://dev.rubyonrails.org/ticket/7295 > > To summarize, this patch adds: > - automatic evaluation of JSON if the mime-type is set to application/ > json. > - evaluation of JSON if the evalJSON option is set to true (regardless > of the mime-type). > - the possibility to sanitize your JSON by setting the sanitizeJSON > option to true (to guard against user-entered data for example). > - the evaluated JSON comes nicely wrapped up as the responseJSON > property of the transport object. > - the x-json header is kept as is (except it also gets sanitized if > the sanitizeJSON option is used). > - there's an added String.prototype.evalJSON method > - automatic Opera testing has been added to rake (would need a bit of > polishing on windows and Linux - if anybody volunteers). > - all the tests you need (they will only run if launched from rake - > you have been warned!) > - full support in Safari, Firefox, Opera 9, IE6 & 7 > > Thanks for your input and best regards, > > Tobie > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
