How to properly destroy jQ plugin
Hey guys,
does anyone know how to destroy jQ plugin ? I usually unbinded all events and I thought that's enough, but after I looked into Google Dev Tools I realized it's not. I've attached a screenshot which shows that there is a still reference to my component in:
jQuery.fn.jQuery.init.
On second screenshot you can see that events are unbinded after I close the window (after application window is beeing closed, all components are unregistered), but nodes still remains in memory.
Regards,
Ćukasz