Closed binskeep closed 8 years ago
In the public unload function, it appears you were missing a 's' in $stars. I added it to my script and it appears to work.
` unload: function(){ var name = 'plugin' + pluginName; var $el = $(this); var $star = $el.data(_name).$stars; $el.removeData(_name); $star.off(); }
Thanks!
In the public unload function, it appears you were missing a 's' in $stars. I added it to my script and it appears to work.
` unload: function(){ var name = 'plugin' + pluginName; var $el = $(this); var $star = $el.data(_name).$stars; $el.removeData(_name); $star.off(); }