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

17 lines
285 B
JavaScript

define( [
"jquery",
"lib/helper"
], function( $, helper ) {
return $.extend( helper, {
sort: function( handle, dx, dy, index, msg ) {
$( handle ).simulate( "drag", {
dx: dx,
dy: dy
});
equal( $( handle ).parent().children().index( handle ), index, msg );
}
} );
} );