Slider: Cleanup public methods

This commit is contained in:
jzaefferer 2010-10-26 12:56:40 +02:00
parent 30d431b08a
commit 720e9d383c

View File

@ -359,20 +359,18 @@ $.widget('ui.spinner', {
stepUp: function(steps) {
this._spin((steps || 1) * this.options.step, null);
return this;
},
stepDown: function(steps) {
this._spin((steps || 1) * -this.options.step, null);
return this;
},
pageUp: function(pages) {
return this.stepUp((pages || 1) * pageModifier);
this.stepUp((pages || 1) * pageModifier);
},
pageDown: function(pages) {
return this.stepDown((pages || 1) * pageModifier);
this.stepDown((pages || 1) * pageModifier);
},
value: function(newVal) {