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', {
285
285
this . buttons . button ( "enable" ) ;
286
286
}
287
287
}
288
- this . _super ( "_setOption" , key , value ) ;
288
+ // TODO see below
289
+ //this._super( "_setOption", key, value );
290
+ $ . Widget . prototype . _setOption . apply ( this , arguments ) ;
289
291
} ,
290
292
291
293
_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 ) ;
293
298
if ( "value" in options ) {
294
299
this . _format ( this . options . value ) ;
295
300
}
You can’t perform that action at this time.
0 commit comments