-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
destroy() function? #23
Comments
Having it clean up after itself would be huge! 👍 |
+1 |
Yes this would be awesome for SPAs. I know you guys do a lot of Backbone work, how do you get around this issue? |
Same for Drupal that rebuilds DOM elements when forms get submitted through AJAX. Through JS detach functions one can destroy elements before content is being replaced. Tether does have a destroy function btw. |
+1 Came here for a solution, sad to see there doesn't seem to be one. |
+1 |
came here for this. |
Indeed, this should be fast tracked. Anyone working on a PR? |
@jreading Just above your comment there is a pull request. |
select.js seems to be causing memory leaks in my application. I noticed in the code that a handful of event listeners get attached but they never get removed. Do you plan to add a destroy() function that cleans up all the event listeners?
The text was updated successfully, but these errors were encountered: