mootools/mootools-more — pull request #1083 by jfly (2011-12-16 12:16:21+00:00)
Title: Keyboard.removeEvents() doesn't work

Keyboard.addEvent calls parent() with a parsed event type. When removeEvents is called, it will call removeEvent with the already parsed event type. We cannot call Keyboard.parse() inside of removeEvent because then we would be parsing an already parsed event type.

I don't really like my fix, as it means that an argument to Keyboard.addEvent() is not a valid argument to Keyboard.removeEvent. I'm not sure what the best fix to this problem is, however.