Ok, after working with the syntax I proposed above all day, I'm
inclined to believe a LowPro-esque helper might not be such a bad
thing. Here's the code I'm working with at this point:
Object.extend(Event, (function(){
return {
delegate: function(element, eventName, targetSelector,
Wow, I didn't realize how much more complex this was. Thanks for the
advice.
On Feb 9, 3:30 am, kangax [EMAIL PROTECTED] wrote:
I've been working on a delegation plugin with syntax like this:
Event.register(selector, eventName, handler);
It supports multiple selectors (separated via comma)