aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/draggable
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2013-10-20 15:34:52 -0400
committerMike Sherov <mike.sherov@gmail.com>2013-10-20 15:34:59 -0400
commit9ca0a19a00640716e2387f42436324606ddd43ad (patch)
tree447ee47fdf6edef5ac942a873106fb6fab09751f /tests/unit/draggable
parentb8795e15d6692426e76e2503e27d01257694c628 (diff)
downloadjquery-ui-9ca0a19a00640716e2387f42436324606ddd43ad.tar.gz
jquery-ui-9ca0a19a00640716e2387f42436324606ddd43ad.zip
Draggable Tests: Fix lint error.
Diffstat (limited to 'tests/unit/draggable')
-rw-r--r--tests/unit/draggable/draggable_test_helpers.js4
1 files 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 + "');");