You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
394 B

define( [
"qunit",
"jquery",
"lib/helper"
], function( QUnit, $, helper ) {
return $.extend( helper, {
drag: function( el, dx, dy ) {
// This mouseover is to work around a limitation in resizable
// TODO: fix resizable so handle doesn't require mouseover in order to be used
$( el ).simulate( "mouseover" ).simulate( "drag", {
moves: 2,
dx: dx,
dy: dy
} );
}
} );
} );