aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.slider.js
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-03-27 01:49:56 +0100
committerjzaefferer <joern.zaefferer@gmail.com>2010-03-27 01:49:56 +0100
commitb96ff11e3b30c93f5707d1299096b27a743974f8 (patch)
tree80485289c98558b4d9181f14c78fb624ae6ae216 /ui/jquery.ui.slider.js
parent39229962316ddeeaa19b2c725ee32d46c38e687c (diff)
downloadjquery-ui-b96ff11e3b30c93f5707d1299096b27a743974f8.tar.gz
jquery-ui-b96ff11e3b30c93f5707d1299096b27a743974f8.zip
Slider: Refactoring _valueMin and _valueMax methods, removing useless temporary variables
Diffstat (limited to 'ui/jquery.ui.slider.js')
-rw-r--r--ui/jquery.ui.slider.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/jquery.ui.slider.js b/ui/jquery.ui.slider.js
index f0cc2ace1..bed4185e7 100644
--- a/ui/jquery.ui.slider.js
+++ b/ui/jquery.ui.slider.js
@@ -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() {