feat(coords): add destroy method

This commit is contained in:
vieron
2014-03-05 17:33:04 +01:00
parent 720d487e39
commit fdeee4f636
+4
View File
@@ -93,6 +93,10 @@
return this.coords;
};
fn.destroy = function() {
this.el.removeData('coords');
delete this.el;
};
//jQuery adapter
$.fn.coords = function() {