Permalink
Browse files

bugfix __destroy

  • Loading branch information...
1 parent d02ac44 commit a2df8e87ee909c65c05149a0829073c175320d29 @Y-Kamata committed Nov 2, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 ui/jquery.ui.widget.js
View
@@ -209,10 +209,10 @@ $.Widget.prototype = {
this._init();
},
// bugfix memory leak http://bugs.jqueryui.com/ticket/7808
- __destroy = function(e){
- var self = $(this).data(e.data.widgetName);
- self.destroy();
- },
+ __destroy: function(e){
+ var self = $(this).data(e.data.widgetName);
+ self.destroy();
+ },
_getCreateOptions: $.noop,
_create: $.noop,
_init: $.noop,

0 comments on commit a2df8e8

Please sign in to comment.