Skip to content

Commit

Permalink
Adding missing return statements
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Jun 18, 2010
1 parent 1beb8a9 commit e9a2661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/jquery.ui.widget.js
Expand Up @@ -148,11 +148,11 @@ $.Widget.prototype = {
_init: function() {},

_super: function( method ) {
this.base[ method ].apply( this, Array.prototype.slice.call( arguments, 1 ) );
return this.base[ method ].apply( this, Array.prototype.slice.call( arguments, 1 ) );
},

_superApply: function( method, args ) {
this.base[ method ].apply( this, args );
return this.base[ method ].apply( this, args );
},

destroy: function() {
Expand Down

0 comments on commit e9a2661

Please sign in to comment.