Hey all,

Is there a way to convince Prototype to tell me what events have been
registered for my window/onload event?   So for example, if I had:

Event.observe(window, 'load', foobar);
Event.observe(window, 'load', snafu);

I would like to get back [foobar, snafu]

Why?  Because something in the code that I've inherited is taking up a
bunch of time before one of my known "onload" events, and I can't seem
to find out what piece of code is running.   But I know it's happening
after the last inline script on the page, and before the code
referenced in <body onload....>

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