[Prototype-core] More Event Handling Propositions

2007-02-08 Thread Ken Snyder
Colin Mollenhour wrote: > But, I don't think the overhead of a bind call and the storage of an > object with a function for EACH event observed is justifiable, just to > have the convenience of: > handle.stopObserving(); > rather than: > Event.stopObserving(handle); Colin, your patch is superb

[Prototype-core] More Event Handling Propositions

2007-02-07 Thread Ken Snyder
Along with all this Event handling discussion, I'd like to throw in my ideas for a rewrite of Event.observe et al before I test and submit as a patch. My proposed changes allow the traditional Event.stopObserving() and simplify some of the current messaging ideas. Please provide feedback. Co