Hello, In trying to speed up the overall download for a page, I decided to create a queue of Ajax.Request objects to asynchronous load a set of javascript files. Due to dependencies between the files, I want to execute them synchronously... the only reason to use Ajax.Request is to download multiple scripts at once instead of waiting for one to complete before the next can begin downloading.
Due to Ajax.Request.evalResponse(), the scripts are executing as soon as they are downloaded--sometimes in the wrong order. It would be most helpful if there was an option to Ajax.Options to either disable evalResponse() or replace it with a custom method. If that's not acceptable, I'd like to know the best way to disable evalResponse() on a per-request basis. I'd like a solution that should remain forward-compatible with future releases. I'm a big fan of Prototype and recommend it whole-heartedly in the Ajax class that I teach. Without this obstacle I would love it even more :-) Suggestions/comments/promises greatly appreciated! Peace, AMA3 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
