jquery-ui/tests/unit/resizable/helper.js
Scott González bde431bb44 Tests: Rename files
Ref gh-1528
2015-04-09 09:27:00 -04:00

19 lines
373 B
JavaScript

define( [
"jquery",
"lib/helper"
], function( $, 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
});
}
} );
} );