aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/draggable/draggable_events.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-04-06 12:42:49 -0400
committerScott González <scott.gonzalez@gmail.com>2015-04-09 09:26:26 -0400
commitfbc55446fbc397f7f176fd907fd5da5ff3d3abad (patch)
tree201fc1d4cd7db849aad4ebc57e19072f55556021 /tests/unit/draggable/draggable_events.js
parent9fb04e42a24263a88dc3adf1b9ce6a199309b24c (diff)
downloadjquery-ui-fbc55446fbc397f7f176fd907fd5da5ff3d3abad.tar.gz
jquery-ui-fbc55446fbc397f7f176fd907fd5da5ff3d3abad.zip
Draggable: Convert tests to new infrastructure
Ref #10119 Ref gh-1528
Diffstat (limited to 'tests/unit/draggable/draggable_events.js')
-rw-r--r--tests/unit/draggable/draggable_events.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/draggable/draggable_events.js b/tests/unit/draggable/draggable_events.js
index dd5c315b0..ebbf606ef 100644
--- a/tests/unit/draggable/draggable_events.js
+++ b/tests/unit/draggable/draggable_events.js
@@ -1,7 +1,7 @@
-/*
- * draggable_events.js
- */
-(function( $ ) {
+define( [
+ "jquery",
+ "ui/draggable"
+], function( $ ) {
var element;
@@ -161,4 +161,4 @@ test( "position and offset in hash is consistent between start, drag, and stop",
deepEqual( dragOffset, stopOffset, "drag offset equals stop offset" );
});
-})( jQuery );
+} );