Skip to content

Commit e9a2661

Browse files
committed
Adding missing return statements
1 parent 1beb8a9 commit e9a2661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/jquery.ui.widget.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ $.Widget.prototype = {
148148
_init: function() {},
149149

150150
_super: function( method ) {
151-
this.base[ method ].apply( this, Array.prototype.slice.call( arguments, 1 ) );
151+
return this.base[ method ].apply( this, Array.prototype.slice.call( arguments, 1 ) );
152152
},
153153

154154
_superApply: function( method, args ) {
155-
this.base[ method ].apply( this, args );
155+
return this.base[ method ].apply( this, args );
156156
},
157157

158158
destroy: function() {

0 commit comments

Comments
 (0)