Skip to content
Permalink
Browse files

Slider: Cleanup public methods

  • Loading branch information...
jzaefferer committed Oct 26, 2010
1 parent 30d431b commit 720e9d383c3f1385da425e18bc6932f31dce1ebb
Showing with 2 additions and 4 deletions.
  1. +2 −4 ui/jquery.ui.spinner.js
@@ -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) {

0 comments on commit 720e9d3

Please sign in to comment.
You can’t perform that action at this time.