aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);