index.js
function cleanup(e2) {
      // if it's the same event as the origin,
      // then don't actually cleanup.
      // hit issues with this - don't remember
      if (e1 === e2) return

      clearTimeout(timeout_id)

      el.removeEventListener('touchmove', cleanup)

      endEvents.forEach(function (event) {
        el.removeEventListener(event, done)
      })
    }
function cleanup(e2) {
      // if it's the same event as the origin,
      // then don't actually cleanup.
      // hit issues with this - don't remember
      if (e1 === e2) return

      clearTimeout(timeout_id)

      el.removeEventListener('touchmove', cleanup)

      endEvents.forEach(function (event) {
        el.removeEventListener(event, done)
      })
    }
function cleanup ( e2 ) { // if it's the same event as the origin, // then don't actually cleanup. // hit issues with this - don't remember if ( e1 === e2 ) return clearTimeout ( timeout_id ) el . removeEventListener ( 'touchmove' , cleanup ) endEvents . forEach ( function ( event ) { el . removeEventListener ( event , done ) } ) }
cleanup end events to cancel the tap, just run this early
cleanup end events to cancel the tap just run this early