jquery/jquery — comment on commit 24e416dca36df4b182a612dba37f8b6cdaa25916
File:  line 0
By dmethvin:

@sebastien-p, using `_data()` will be a start, but since the internal organization of the data structure has changed you'll need to make other changes as well.

From the plugin's readme:

> Some people do something like `$("#some_element").unbind("click").bind("click", function () {});` which works but is unclean and calls the unbind method even when not needed.

I am not sure how `.unbind("click")` is more unclean than inspecting an undocumented internal data structure with a 450-line plugin. If that code had a namespace for the event I think it would be just fine. Or the code can just track that it's already done initialization and doesn't need to re-attach an event handler. Or it could use delegated events. Any of those are simpler, smaller, faster, and more robust than using the plugin.