Starting in the remove function (around line 525 in the clean version)
You are missing an event un-registration function, and since you weren't including the function in the .off() call, two different selection views would unregister each other's event listeners.
Starting in the remove function (around line 525 in the clean version)
You are missing an event un-registration function, and since you weren't including the function in the .off() call, two different selection views would unregister each other's event listeners.
Old Code :
New Proposed Code :