I believe this already has been fixed: https://mootools.lighthouseapp.com/projects/2706/tickets/1043
On Dec 7, 12:28 am, Aaron Newton <[email protected]> wrote: > Lighthouse! > > On Mon, Dec 6, 2010 at 6:18 PM, Sean McArthur <[email protected]>wrote: > > > > > Yep good catch. removeEvent is calling `delete` on the array, which does > > remove the function from the internal array, but isn't changing the array's > > length. So the next time around, it still assumes theres functions to kill > > cause length > 0. > > > On Mon, Dec 6, 2010 at 3:08 PM, Dimitar Christoff > > <[email protected]>wrote: > > >> Not sure. > > >> i can remove events if they are named fine: > >>http://www.jsfiddle.net/dimitar/yhCJC/ > > >> i can remove them as a wildcard for all complete events: > >>http://www.jsfiddle.net/dimitar/yhCJC/1/ > > >> but removing it by getting the instance fails: > >>http://www.jsfiddle.net/dimitar/yhCJC/2/ > > >> this does, indeed, work in 1.2.5: > >>http://www.jsfiddle.net/dimitar/yhCJC/3/ > > >> so i'd say there's a bug there somewhere. > > >> somebody ought to test this some more and report it on lighthouse... > >> -- > >> Dimitar Christoff <[email protected]> > > >> blog:http://fragged.org/ twitter: @D_mitar
