It's conventional for jQuery widgets to have a 'destroy' method which unbinds the widget and removes data associated with (in this case jquery-mentions).
This can help reduce memory leaks, and also ensures the pluggable nature of the widget logic.
I haven't found something like this in the mentions-input code. Is there a way to effectively unbind and destroy the wdiget?
It's conventional for jQuery widgets to have a 'destroy' method which unbinds the widget and removes data associated with (in this case jquery-mentions).
This can help reduce memory leaks, and also ensures the pluggable nature of the widget logic.
I haven't found something like this in the mentions-input code. Is there a way to effectively unbind and destroy the wdiget?
thanks!