From 9ca0a19a00640716e2387f42436324606ddd43ad Mon Sep 17 00:00:00 2001 From: Mike Sherov Date: Sun, 20 Oct 2013 15:34:52 -0400 Subject: [PATCH] Draggable Tests: Fix lint error. --- tests/unit/draggable/draggable_test_helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/draggable/draggable_test_helpers.js b/tests/unit/draggable/draggable_test_helpers.js index 583eece90..a4a0d3199 100644 --- a/tests/unit/draggable/draggable_test_helpers.js +++ b/tests/unit/draggable/draggable_test_helpers.js @@ -13,8 +13,8 @@ TestHelpers.draggable = { offsetBefore = el.offset(), offsetExpected = { left: offsetBefore.left + expectedDX, top: offsetBefore.top + expectedDY }; - $( el ).one( "dragstop", function( event, ui ) { - var expectedPosition = { left: ui.originalPosition.left + expectedDX, top: ui.originalPosition.top + expectedDY }; + $( el ).one( "dragstop", function( /* event, ui */ ) { + // 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 // deepEqual( ui.position, expectedPosition, "position dragged[" + dx + ", " + dy + "] " + msg ); ok( true, "TODO: deepEqual( ui.position, expectedPosition, 'position dragged[" + dx + ", " + dy + "] " + msg + "');"); -- 2.39.5