Skip to content
Permalink
Browse files

Update Draggable test case for jquery.simulate

  • Loading branch information
eduardolundgren committed Jun 4, 2008
1 parent 1b5470a commit cc60a11da632efd4e13c2583f4c912aaa177e9a7
Showing with 2 additions and 2 deletions.
  1. +1 −1 ui/tests/draggable.html
  2. +1 −1 ui/tests/draggable.js
@@ -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 {
@@ -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
});
};

0 comments on commit cc60a11

Please sign in to comment.
You can’t perform that action at this time.