mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Draggable Tests: Fix lint error.
This commit is contained in:
parent
b8795e15d6
commit
9ca0a19a00
@ -13,8 +13,8 @@ TestHelpers.draggable = {
|
|||||||
offsetBefore = el.offset(),
|
offsetBefore = el.offset(),
|
||||||
offsetExpected = { left: offsetBefore.left + expectedDX, top: offsetBefore.top + expectedDY };
|
offsetExpected = { left: offsetBefore.left + expectedDX, top: offsetBefore.top + expectedDY };
|
||||||
|
|
||||||
$( el ).one( "dragstop", function( event, ui ) {
|
$( el ).one( "dragstop", function( /* event, ui */ ) {
|
||||||
var expectedPosition = { left: ui.originalPosition.left + expectedDX, top: ui.originalPosition.top + expectedDY };
|
// var expectedPosition = { left: ui.originalPosition.left + expectedDX, top: ui.originalPosition.top + expectedDY };
|
||||||
// TODO: fix test bugs and actual bugs that cause this not to be true
|
// TODO: fix test bugs and actual bugs that cause this not to be true
|
||||||
// deepEqual( ui.position, expectedPosition, "position dragged[" + dx + ", " + dy + "] " + msg );
|
// deepEqual( ui.position, expectedPosition, "position dragged[" + dx + ", " + dy + "] " + msg );
|
||||||
ok( true, "TODO: deepEqual( ui.position, expectedPosition, 'position dragged[" + dx + ", " + dy + "] " + msg + "');");
|
ok( true, "TODO: deepEqual( ui.position, expectedPosition, 'position dragged[" + dx + ", " + dy + "] " + msg + "');");
|
||||||
|
Loading…
Reference in New Issue
Block a user