diff options
author | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-06-04 23:59:47 +0000 |
---|---|---|
committer | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-06-04 23:59:47 +0000 |
commit | cc60a11da632efd4e13c2583f4c912aaa177e9a7 (patch) | |
tree | 20451d4b4bc81aa4cf7f0939f64a9efee1cdedc6 | |
parent | 1b5470af38cafbf849f2dd71fe00bcda0c6a3b51 (diff) | |
download | jquery-ui-cc60a11da632efd4e13c2583f4c912aaa177e9a7.tar.gz jquery-ui-cc60a11da632efd4e13c2583f4c912aaa177e9a7.zip |
Update Draggable test case for jquery.simulate
-rw-r--r-- | ui/tests/draggable.html | 2 | ||||
-rw-r--r-- | ui/tests/draggable.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/tests/draggable.html b/ui/tests/draggable.html index 46b487d4f..ac0b77b6d 100644 --- a/ui/tests/draggable.html +++ b/ui/tests/draggable.html @@ -12,7 +12,7 @@ <script type="text/javascript" src="../../qunit/testrunner.js"></script> <script type="text/javascript" src="draggable.js"></script> -<script type="text/javascript" src="jquery.useraction.js"></script> +<script type="text/javascript" src="jquery.simulate.js"></script> <style> #main { diff --git a/ui/tests/draggable.js b/ui/tests/draggable.js index a246d4747..e787d9149 100644 --- a/ui/tests/draggable.js +++ b/ui/tests/draggable.js @@ -3,7 +3,7 @@ var drag = function(el, dx, dy, complete) { // speed = sync -> Drag syncrhonously. // speed = fast|slow -> Drag asyncrhonously - animated. - return $(el).userAction("drag", { + return $(el).simulate("drag", { dx: dx||0, dy: dy||0, speed: 'sync', complete: complete }); }; |