diff options
author | Chi Cheng <cloudream@gmail.com> | 2008-08-17 08:15:49 +0000 |
---|---|---|
committer | Chi Cheng <cloudream@gmail.com> | 2008-08-17 08:15:49 +0000 |
commit | d5bbbd2a070aa7338a9726d969a1ecd95076b3ee (patch) | |
tree | 3bc74afedb4cd454861f6d0b24ceb8eae1fb2ac5 /ui/ui.resizable.js | |
parent | 6e8832d440ff076b1bad130cfdfee79f0e40fb8f (diff) | |
download | jquery-ui-d5bbbd2a070aa7338a9726d969a1ecd95076b3ee.tar.gz jquery-ui-d5bbbd2a070aa7338a9726d969a1ecd95076b3ee.zip |
internal methods: mouse*
Diffstat (limited to 'ui/ui.resizable.js')
-rw-r--r-- | ui/ui.resizable.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js index d8509deaa..0e0e447c6 100644 --- a/ui/ui.resizable.js +++ b/ui/ui.resizable.js @@ -212,7 +212,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { }); } - this.mouseInit(); + this._mouseInit(); }, plugins: {}, ui: function() { @@ -234,7 +234,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { destroy: function() { var el = this.element, wrapped = el.children(".ui-resizable").get(0); - this.mouseDestroy(); + this._mouseDestroy(); var _destroy = function(exp) { $(exp).removeClass("ui-resizable ui-resizable-disabled") @@ -257,7 +257,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { _destroy(wrapped); } }, - mouseStart: function(e) { + _mouseStart: function(e) { if(this.options.disabled) return false; var handle = false; @@ -312,7 +312,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { this._propagate("start", e); return true; }, - mouseDrag: function(e) { + _mouseDrag: function(e) { //Increase performance, avoid regex var el = this.helper, o = this.options, props = {}, @@ -348,7 +348,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { return false; }, - mouseStop: function(e) { + _mouseStop: function(e) { this.options.resizing = false; var o = this.options, num = function(v) { return parseInt(v, 10) || 0; }, self = this; |