I don’t see Element.hasEvent anywhere in there. I think it would be better that addEvent did not allow duplicate events being added to it. Each event should be unique and should check to see that the function being added to the element doesn’t already exist
From: Christoph Pojer [mailto:[email protected]] Sent: Friday, 25 March 2011 11:20 PM To: [email protected] Cc: Arian Stolwijk Subject: Re: [Moo] Element.hasEvent() is gone? Element.hasEvent is part of the custom-event repository in MooTools PowerTools! http://cpojer.net/PowerTools/#! See https://github.com/cpojer/mootools-custom-event for the code and documentation. This functionality was never part of MooTools itself.
