File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -285,11 +285,16 @@ $.widget('ui.spinner', {
285285 this . buttons . button ( "enable" ) ;
286286 }
287287 }
288- this . _super ( "_setOption" , key , value ) ;
288+ // TODO see below
289+ //this._super( "_setOption", key, value );
290+ $ . Widget . prototype . _setOption . apply ( this , arguments ) ;
289291 } ,
290292
291293 _setOptions : function ( options ) {
292- this . _super ( "_setOptions" , options ) ;
294+ // TODO _super doesn't handle inheritance with more then one subclass
295+ // spinner subclass will have spinner as base, calling spinner._setOptions infinitely
296+ //this._super( "_setOptions", options );
297+ $ . Widget . prototype . _setOptions . apply ( this , arguments ) ;
293298 if ( "value" in options ) {
294299 this . _format ( this . options . value ) ;
295300 }
You can’t perform that action at this time.
0 commit comments