Open ZeeD opened 12 years ago
That's a really interesting idea. I'm not sure that that information is available from the libraries in order to do that (in fact I would be fairly surprised if it were), but most certainly worth a bit of investigation.
It would be a killer feature to find what bind a function to an event.
Let's say I have this code
// somewhere.js function on_click() { // do something }
// somewhereelse.js function bind_events() { $('a').click(on_click); }
sometimes what I really want is bind_events, not on_click