This project is archived and is in readonly mode.

#1180 ✓duplicate
T Müller

calling instance.removeEvents() twice throws an Error

Reported by T Müller | February 23rd, 2011 @ 09:42 PM

Hi,

when a Class implements Events, an eventhandler is attached to the class and calling removeEvents twice, an error is thrown.

JSFiddle: http://jsfiddle.net/qYtf7/3/

Not quite tested, but the following fixed the error in Firefox and Chrome:

(inside Events.removeEvent) http://pastebin.com/RUDR1QWy

Edit: Pasting the diff here didn't work, so there is a pastebin for it.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages