aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2008-10-05 18:31:44 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2008-10-05 18:31:44 +0000
commit3897602bb0981af89561fb8ce289d3bdc270e111 (patch)
tree9ed0acccddd0be5a9a2f1dbd55b68195b072e81c /ui
parent923d1ec3bb7a8d20cdb17fb0929d40ab837d15d5 (diff)
downloadjquery-ui-3897602bb0981af89561fb8ce289d3bdc270e111.tar.gz
jquery-ui-3897602bb0981af89561fb8ce289d3bdc270e111.zip
adding version property to all ui components
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.slider.js16
1 files changed, 9 insertions, 7 deletions
diff --git a/ui/ui.slider.js b/ui/ui.slider.js
index ce81a7f51..d2338b5db 100644
--- a/ui/ui.slider.js
+++ b/ui/ui.slider.js
@@ -439,12 +439,14 @@ $.widget("ui.slider", {
}
});
-$.ui.slider.getter = "value";
-
-$.ui.slider.defaults = {
- handle: ".ui-slider-handle",
- distance: 1,
- animate: false
-};
+$.extend($.ui.slider, {
+ getter: "value",
+ version: "@VERSION",
+ defaults: {
+ handle: ".ui-slider-handle",
+ distance: 1,
+ animate: false
+ }
+});
})(jQuery);