From baeb70fdcc10bd3580e941cb95f0dae67ee167d1 Mon Sep 17 00:00:00 2001 From: Mark Salsbery <> Date: Wed, 17 Mar 2021 16:15:22 -0700 Subject: [PATCH] code cleanup --- test/modules/events.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/modules/events.js b/test/modules/events.js index 69a5c8a2..b5f4b89a 100644 --- a/test/modules/events.js +++ b/test/modules/events.js @@ -833,7 +833,6 @@ // ---------- QUnit.test('Viewer: preventDefaultAction in dblClickHandler', function(assert) { var done = assert.async(); - var tracker = viewer.innerTracker; var epsilon = 0.0000001; var $canvas = $( viewer.element ).find( '.openseadragon-canvas' ).not( '.navigator .openseadragon-canvas' ), simEvent = {}, @@ -866,15 +865,6 @@ $canvas.simulate( 'mouseup', simEvent ); }; - // function simulateDblTap() { - // var touches = []; - // TouchUtil.reset(); - - // touches.push(TouchUtil.start([0,0])); - // TouchUtil.end( touches[0] ); - // touches.push(TouchUtil.start([0,0])); - // TouchUtil.end( touches[1] ); - // } function simulateDblTap() { simulateEnter(2, 2); simulateDown(2, 2);