Re: [DOML3Events] ACTION-267 Proposal for event iterator

Boris Zbarsky wrote:
> 
> Jonas Sicking wrote:
>> oldAddEL = EventTarget.prototype.addEventListener;
>> Node.prototype.addEventListener = function(type,
> 
> I should note that this wouldn't work in recent Geckos, by the way...

I think it might actually, since addEventListener isn't on the nodes 
prototype chain normally.

But in any case if the above didn't work it's a Gecko bug and not 
something we should design APIs around.

/ Jonas

Received on Thursday, 10 April 2008 02:19:59 UTC