.undelegate() doesnt clear up properly
|Reported by:||dunkfordyce@…||Owned by:|
|Keywords:||undelegate clear up||Cc:|
Found this while delegating and undelegating alot - it appears there is some data left on the delegating element after .undelegate() - you have to call unbind() as well to truly clear all the data on the element.
This example demonstrates the problem - you can see the length of the click data goes up continuously for each delegate() call: http://jsbin.com/ehani4/4/edit