mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-23 01:24:22 +00:00
70dae67b73
Fixes #15393 Closes gh-1958
22 lines
408 B
JavaScript
22 lines
408 B
JavaScript
define( [
|
|
"qunit",
|
|
"jquery",
|
|
"lib/helper"
|
|
], function( QUnit, $, helper ) {
|
|
"use strict";
|
|
|
|
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
|
|
} );
|
|
}
|
|
} );
|
|
|
|
} );
|