Skip to content

Commit b96ff11

Browse files
committed
Slider: Refactoring _valueMin and _valueMax methods, removing useless temporary variables
1 parent 3922996 commit b96ff11

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ui/jquery.ui.slider.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -566,13 +566,11 @@ $.widget("ui.slider", $.ui.mouse, {
566566
},
567567

568568
_valueMin: function() {
569-
var valueMin = this.options.min;
570-
return valueMin;
569+
return this.options.min;
571570
},
572571

573572
_valueMax: function() {
574-
var valueMax = this.options.max;
575-
return valueMax;
573+
return this.options.max;
576574
},
577575

578576
_refreshValue: function() {

0 commit comments

Comments
 (0)