aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Lundgren <eduardolundgren@gmail.com>2008-06-04 23:59:47 +0000
committerEduardo Lundgren <eduardolundgren@gmail.com>2008-06-04 23:59:47 +0000
commitcc60a11da632efd4e13c2583f4c912aaa177e9a7 (patch)
tree20451d4b4bc81aa4cf7f0939f64a9efee1cdedc6
parent1b5470af38cafbf849f2dd71fe00bcda0c6a3b51 (diff)
downloadjquery-ui-cc60a11da632efd4e13c2583f4c912aaa177e9a7.tar.gz
jquery-ui-cc60a11da632efd4e13c2583f4c912aaa177e9a7.zip
Update Draggable test case for jquery.simulate
-rw-r--r--ui/tests/draggable.html2
-rw-r--r--ui/tests/draggable.js2
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
});
};