r3507 committed - Merged in trunk r3500:3506

r3507 committed - Merged in trunk r3500:3506

Revision: 3507
Author: scott.gonzalez
Date: Tue Dec 22 13:11:49 2009
Log: Merged in trunk r3500:3506
http://code.google.com/p/jquery-ui/source/detail?r=3507
Added:
/branches/dev/ui/jquery.ui.mouse.js
Modified:
/branches/dev/demos/draggable/constrain-movement.html
/branches/dev/demos/draggable/cursor-style.html
/branches/dev/demos/draggable/default.html
/branches/dev/demos/draggable/delay-start.html
/branches/dev/demos/draggable/events.html
/branches/dev/demos/draggable/handle.html
/branches/dev/demos/draggable/revert.html
/branches/dev/demos/draggable/scroll.html
/branches/dev/demos/draggable/snap-to.html
/branches/dev/demos/draggable/sortable.html
/branches/dev/demos/draggable/visual-feedback.html
/branches/dev/demos/droppable/accepted-elements.html
/branches/dev/demos/droppable/default.html
/branches/dev/demos/droppable/photo-manager.html
/branches/dev/demos/droppable/propagation.html
/branches/dev/demos/droppable/revert.html
/branches/dev/demos/droppable/visual-feedback.html
/branches/dev/demos/index.html
/branches/dev/demos/resizable/animate.html
/branches/dev/demos/resizable/aspect-ratio.html
/branches/dev/demos/resizable/constrain-area.html
/branches/dev/demos/resizable/default.html
/branches/dev/demos/resizable/delay-start.html
/branches/dev/demos/resizable/helper.html
/branches/dev/demos/resizable/max-min.html
/branches/dev/demos/resizable/snap-to-grid.html
/branches/dev/demos/resizable/synchronous-resize.html
/branches/dev/demos/resizable/textarea.html
/branches/dev/demos/resizable/visual-feedback.html
/branches/dev/demos/selectable/default.html
/branches/dev/demos/selectable/display-grid.html
/branches/dev/demos/selectable/serialize.html
/branches/dev/demos/sortable/connect-lists-through-tabs.html
/branches/dev/demos/sortable/connect-lists.html
/branches/dev/demos/sortable/default.html
/branches/dev/demos/sortable/delay-start.html
/branches/dev/demos/sortable/display-grid.html
/branches/dev/demos/sortable/empty-lists.html
/branches/dev/demos/sortable/items.html
/branches/dev/demos/sortable/placeholder.html
/branches/dev/demos/sortable/portlets.html
/branches/dev/tests/unit/all.html
/branches/dev/tests/unit/all_2.html
/branches/dev/tests/unit/draggable/draggable.html
/branches/dev/tests/unit/droppable/droppable.html
/branches/dev/tests/unit/index.html
/branches/dev/tests/unit/resizable/resizable.html
/branches/dev/tests/unit/selectable/selectable.html
/branches/dev/tests/unit/sortable/sortable.html
/branches/dev/tests/visual/all.html
/branches/dev/tests/visual/draggable/default.html
/branches/dev/tests/visual/draggable/draggable.html
/branches/dev/tests/visual/draggable/draggable.scroll.html

/branches/dev/tests/visual/draggable/draggable_option_containment_array.html
/branches/dev/tests/visual/draggable/draggable_option_cursorAt_object.html
/branches/dev/tests/visual/draggable/draggable_option_handle_selector.html
/branches/dev/tests/visual/draggable/draggable_option_iframeFix_false.html

/branches/dev/tests/visual/draggable/draggable_option_iframeFix_selector.html
/branches/dev/tests/visual/draggable/draggable_option_iframeFix_true.html
/branches/dev/tests/visual/droppable/default.html
/branches/dev/tests/visual/droppable/droppable.html
/branches/dev/tests/visual/droppable/droppable_option_accept_default.html
/branches/dev/tests/visual/droppable/droppable_option_accept_function.html
/branches/dev/tests/visual/droppable/droppable_option_accept_selector.html
/branches/dev/tests/visual/droppable/droppable_ticket_4087.html
/branches/dev/tests/visual/droppable/droppable_ticket_4088.html
/branches/dev/tests/visual/resizable/default.html
/branches/dev/tests/visual/resizable/resizable.html
/branches/dev/tests/visual/resizable/resizable_option_aspectRatio_0.5.html
/branches/dev/tests/visual/resizable/resizable_option_aspectRatio_1.0.html
/branches/dev/tests/visual/resizable/resizable_option_aspectRatio_1.5.html

/branches/dev/tests/visual/resizable/resizable_option_aspectRatio_preserve_maxHeight_150.html

/branches/dev/tests/visual/resizable/resizable_option_aspectRatio_preserve_maxWidth_150.html

/branches/dev/tests/visual/resizable/resizable_option_aspectRatio_preserve_minHeight_50.html

/branches/dev/tests/visual/resizable/resizable_option_aspectRatio_preserve_minWidth_50.html

/branches/dev/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh100.html

/branches/dev/tests/visual/resizable/resizable_option_aspectRatio_preserve_w100xh50.html

/branches/dev/tests/visual/resizable/resizable_option_aspectRatio_preserve_w50xh100.html
/branches/dev/tests/visual/resizable/resizable_ticket_3053.html
/branches/dev/tests/visual/resizable/resizable_ticket_4199.html
/branches/dev/tests/visual/resizable/resizable_ticket_4217.html
/branches/dev/tests/visual/selectable/default.html
/branches/dev/tests/visual/selectable/selectable.html
/branches/dev/tests/visual/selectable/selectable_ticket_4341.html
/branches/dev/tests/visual/sortable/default.html
/branches/dev/tests/visual/sortable/sortable.html
/branches/dev/tests/visual/sortable/sortable_massive_scale.html
/branches/dev/tests/visual/sortable/sortable_option_revert_false.html
/branches/dev/tests/visual/sortable/sortable_option_revert_true.html
/branches/dev/tests/visual/sortable/sortable_ticket_4551.html
/branches/dev/ui/jquery.ui.core.js
/branches/dev/ui/jquery.ui.dialog.js
/branches/dev/ui/jquery.ui.draggable.js
/branches/dev/ui/jquery.ui.droppable.js
/branches/dev/ui/jquery.ui.resizable.js
/branches/dev/ui/jquery.ui.selectable.js
/branches/dev/ui/jquery.ui.slider.js
/branches/dev/ui/jquery.ui.sortable.js
/branches/dev/ui/jquery.ui.widget.js
=======================================
--- /dev/null
+++ /branches/dev/ui/jquery.ui.mouse.js    Tue Dec 22 13:11:49 2009
@@ -0,0 +1,163 @@
+/*!
+ * jQuery UI Mouse @VERSION
+ *
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
+ * and GPL (GPL-LICENSE.txt) licenses.
+ *
+ * http://docs.jquery.com/UI/Mouse
+ *
+ * Depends:
+ *    jquery.ui.widget.js
+ */
+(function($) {
+
+$.ui.mouse = {
+    _mouseInit: function() {
+        var self = this;
+
+        this.element
+            .bind('mousedown.'+this.widgetName, function(event) {
+                return self._mouseDown(event);
+            })
+            .bind('click.'+this.widgetName, function(event) {
+                if(self._preventClickEvent) {
+                    self._preventClickEvent = false;
+                    event.stopImmediatePropagation();
+                    return false;
+                }
+            });
+
+        // Prevent text selection in IE
+        if ($.browser.msie) {
+            this._mouseUnselectable = this.element.attr('unselectable');
+            this.element.attr('unselectable', 'on');
+        }
+
+        this.started = false;
+    },
+
+    // TODO: make sure destroying one instance of mouse doesn't mess with
+    // other instances of mouse
+    _mouseDestroy: function() {
+        this.element.unbind('.'+this.widgetName);
+
+        // Restore text selection in IE
+        ($.browser.msie
+            && this.element.attr('unselectable', this._mouseUnselectable));
+    },
+
+    _mouseDown: function(event) {
+        // don't let more than one widget handle mouseStart
+        // TODO: figure out why we have to use originalEvent
+        event.originalEvent = event.originalEvent || {};
+        if (event.originalEvent.mouseHandled) { return; }
+
+        // we may have missed mouseup (out of window)
+        (this._mouseStarted && this._mouseUp(event));
+
+        this._mouseDownEvent = event;
+
+        var self = this,
+            btnIsLeft = (event.which == 1),
+            elIsCancel = (typeof this.options.cancel == "string" ?
$(event.target).parents().add(event.target).filter(this.options.cancel).length :
false);
+        if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) {
+            return true;
+        }
+
+        this.mouseDelayMet = !this.options.delay;
+        if (!this.mouseDelayMet) {
+            this._mouseDelayTimer = setTimeout(function() {
+                self.mouseDelayMet = true;
+            }, this.options.delay);
+        }
+
+        if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {
+            this._mouseStarted = (this._mouseStart(event) !== false);
+            if (!this._mouseStarted) {
+                event.preventDefault();
+                return true;
+            }
+        }
+
+        // these delegates are required to keep context
+        this._mouseMoveDelegate = function(event) {
+            return self._mouseMove(event);
+        };
+        this._mouseUpDelegate = function(event) {
+            return self._mouseUp(event);
+        };
+        $(document)
+            .bind('mousemove.'+this.widgetName, this._mouseMoveDelegate)
+            .bind('mouseup.'+this.widgetName, this._mouseUpDelegate);
+
+        // preventDefault() is used to prevent the selection of text here -
+        // however, in Safari, this causes select boxes not to be selectable
+        // anymore, so this fix is needed
+        ($.browser.safari || event.preventDefault());
+
+        event.originalEvent.mouseHandled = true;
+        return true;
+    },
+
+    _mouseMove: function(event) {
+        // IE mouseup check - mouseup happened when mouse was out of window
+        if ($.browser.msie && !event.button) {
+            return this._mouseUp(event);
+        }
+
+        if (this._mouseStarted) {
+            this._mouseDrag(event);
+            return event.preventDefault();
+        }
+
+        if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {
+            this._mouseStarted =
+                (this._mouseStart(this._mouseDownEvent, event) !== false);
+            (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event));
+        }
+
+        return !this._mouseStarted;
+    },
+
+    _mouseUp: function(event) {
+        $(document)
+            .unbind('mousemove.'+this.widgetName, this._mouseMoveDelegate)
+            .unbind('mouseup.'+this.widgetName, this._mouseUpDelegate);
+
+        if (this._mouseStarted) {
+            this._mouseStarted = false;
+            this._preventClickEvent = (event.target == this._mouseDownEvent.target);
+            this._mouseStop(event);
+        }
+
+        return false;
+    },
+
+    _mouseDistanceMet: function(event) {
+        return (Math.max(
+                Math.abs(this._mouseDownEvent.pageX - event.pageX),
+                Math.abs(this._mouseDownEvent.pageY - event.pageY)
+            ) >= this.options.distance
+        );
+    },
+
+    _mouseDelayMet: function(event) {
+        return this.mouseDelayMet;
+    },
+
+    // These are placeholder methods, to be overriden by extending plugin
+    _mouseStart: function(event) {},
+    _mouseDrag: function(event) {},
+    _mouseStop: function(event) {},
+    _mouseCapture: function(event) { return true; }
+};
+
+$.ui.mouse.defaults = {
+    cancel: ':input,option',
+    distance: 1,
+    delay: 0
+};
+
+})(jQuery);
+
=======================================
--- /branches/dev/demos/draggable/constrain-movement.html    Wed Dec 16
17:36:20 2009
+++ /branches/dev/demos/draggable/constrain-movement.html    Tue Dec 22
13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
    <style type="text/css">
=======================================
--- /branches/dev/demos/draggable/cursor-style.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/draggable/cursor-style.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
    <style type="text/css">
=======================================
--- /branches/dev/demos/draggable/default.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/draggable/default.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
    <style type="text/css">
=======================================
--- /branches/dev/demos/draggable/delay-start.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/draggable/delay-start.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
    <style type="text/css">
=======================================
--- /branches/dev/demos/draggable/events.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/draggable/events.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
    <style type="text/css">
=======================================
--- /branches/dev/demos/draggable/handle.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/draggable/handle.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
    <style type="text/css">
=======================================
--- /branches/dev/demos/draggable/revert.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/draggable/revert.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
    <style type="text/css">
=======================================
--- /branches/dev/demos/draggable/scroll.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/draggable/scroll.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
    <style type="text/css">
=======================================
--- /branches/dev/demos/draggable/snap-to.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/draggable/snap-to.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
    <style type="text/css">
=======================================
--- /branches/dev/demos/draggable/sortable.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/draggable/sortable.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.sortable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
=======================================
--- /branches/dev/demos/draggable/visual-feedback.html    Wed Dec 16 17:36:20
2009
+++ /branches/dev/demos/draggable/visual-feedback.html    Tue Dec 22 13:11:49
2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
    <style type="text/css">
=======================================
--- /branches/dev/demos/droppable/accepted-elements.html    Wed Dec 16
17:36:20 2009
+++ /branches/dev/demos/droppable/accepted-elements.html    Tue Dec 22
13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.droppable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
=======================================
--- /branches/dev/demos/droppable/default.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/droppable/default.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.droppable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
=======================================
--- /branches/dev/demos/droppable/photo-manager.html    Wed Dec 16 17:36:20
2009
+++ /branches/dev/demos/droppable/photo-manager.html    Tue Dec 22 13:11:49
2009
@@ -6,6 +6,7 @@
        <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
        <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+        <script type="text/javascript"
src="../../ui/jquery.ui.mouse.js"></script>
        <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
        <script type="text/javascript"
src="../../ui/jquery.ui.droppable.js"></script>
        <script type="text/javascript"
src="../../ui/jquery.ui.resizable.js"></script>
=======================================
--- /branches/dev/demos/droppable/propagation.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/droppable/propagation.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.droppable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
=======================================
--- /branches/dev/demos/droppable/revert.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/droppable/revert.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.droppable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
=======================================
--- /branches/dev/demos/droppable/visual-feedback.html    Wed Dec 16 17:36:20
2009
+++ /branches/dev/demos/droppable/visual-feedback.html    Tue Dec 22 13:11:49
2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.draggable.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.droppable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
=======================================
--- /branches/dev/demos/index.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/index.html    Tue Dec 22 13:11:49 2009
@@ -8,6 +8,7 @@
    <script type="text/javascript" src="../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../ui/jquery.ui.core.js"></script>
    <script type="text/javascript" src="../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript" src="../ui/jquery.ui.stackfix.js"></script>
    <script type="text/javascript"
src="../ui/jquery.ui.accordion.js"></script>
    <script type="text/javascript"
src="../ui/jquery.ui.autocomplete.js"></script>
=======================================
--- /branches/dev/demos/resizable/animate.html    Wed Dec 16 17:36:20 2009
+++ /branches/dev/demos/resizable/animate.html    Tue Dec 22 13:11:49 2009
@@ -6,6 +6,7 @@
    <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
    <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
    <script type="text/javascript"
src="../../ui/jquery.ui.widget.js"></script>
+    <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
    <script type="text/javascript"