diff options
author | Chi Cheng <cloudream@gmail.com> | 2008-08-18 00:07:09 +0000 |
---|---|---|
committer | Chi Cheng <cloudream@gmail.com> | 2008-08-18 00:07:09 +0000 |
commit | 4d2fb8296074a6273e303777681f5a2bd03c0350 (patch) | |
tree | 28e46bb6d73256fa1b43a49e6ecf9ae590499978 /ui/ui.slider.js | |
parent | d5bbbd2a070aa7338a9726d969a1ecd95076b3ee (diff) | |
download | jquery-ui-4d2fb8296074a6273e303777681f5a2bd03c0350.tar.gz jquery-ui-4d2fb8296074a6273e303777681f5a2bd03c0350.zip |
slider:internal methods, fixes #3188
Diffstat (limited to 'ui/ui.slider.js')
-rw-r--r-- | ui/ui.slider.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/ui.slider.js b/ui/ui.slider.js index c9668af0f..a15b34dd5 100644 --- a/ui/ui.slider.js +++ b/ui/ui.slider.js @@ -46,7 +46,7 @@ $.widget("ui.slider", { this.handle .unwrap("a"); this.handle.each(function() { - $(this).data("mouse").mouseDestroy(); + $(this).data("mouse")._mouseDestroy(); }); } @@ -93,15 +93,15 @@ $.widget("ui.slider", { self._focus(this, true); }); - this.mouseInit(); + this._mouseInit(); }; $.extend(handleclass.prototype, $.ui.mouse, { - mouseStart: function(e) { return self.start.call(self, e, this.element[0]); }, - mouseStop: function(e) { return self.stop.call(self, e, this.element[0]); }, - mouseDrag: function(e) { return self.drag.call(self, e, this.element[0]); }, - mouseCapture: function() { return true; }, - trigger: function(e) { this.mouseDown(e); } + _mouseStart: function(e) { return self.start.call(self, e, this.element[0]); }, + _mouseStop: function(e) { return self.stop.call(self, e, this.element[0]); }, + _mouseDrag: function(e) { return self.drag.call(self, e, this.element[0]); }, + _mouseCapture: function() { return true; }, + trigger: function(e) { this._mouseDown(e); } }); |