]> source.dussan.org Git - jquery-ui.git/commitdiff
Slider: Refactoring _valueMin and _valueMax methods, removing useless temporary variables
authorjzaefferer <joern.zaefferer@gmail.com>
Sat, 27 Mar 2010 00:49:56 +0000 (01:49 +0100)
committerjzaefferer <joern.zaefferer@gmail.com>
Sat, 27 Mar 2010 00:49:56 +0000 (01:49 +0100)
ui/jquery.ui.slider.js

index f0cc2ace11753a8d24a4d493e0ac29e77318336b..bed4185e77f758821ffd00e701fc90cbcd525320 100644 (file)
@@ -566,13 +566,11 @@ $.widget("ui.slider", $.ui.mouse, {
        },
 
        _valueMin: function() {
-               var valueMin = this.options.min;
-               return valueMin;
+               return this.options.min;
        },
 
        _valueMax: function() {
-               var valueMax = this.options.max;
-               return valueMax;
+               return this.options.max;
        },
        
        _refreshValue: function() {