add destroy method

This commit is contained in:
vitalets
2013-01-08 12:36:35 +04:00
parent 87f214adf4
commit 2fd6340b03
4 changed files with 44 additions and 2 deletions

@ -261,6 +261,8 @@ Applied as jQuery method.
**/
destroy: function() {
this.call('destroy');
this.$element.off('destroyed');
this.$element.removeData('editableContainer');
},
/*