(e)
| 108 | ); |
| 109 | |
| 110 | function ontouchstart(e) { |
| 111 | moveX = 0; |
| 112 | moveY = 0; |
| 113 | lastX = e.touches[0].clientX; |
| 114 | lastY = e.touches[0].clientY; |
| 115 | isScrolling = false; |
| 116 | |
| 117 | document.addEventListener("touchmove", omtouchmove, { passive: false }); |
| 118 | document.addEventListener("touchend", omtouchend); |
| 119 | document.addEventListener("touchcancel", omtouchend); |
| 120 | } |
| 121 | |
| 122 | function omtouchmove(e) { |
| 123 | const { clientX, clientY } = e.touches[0]; |
nothing calls this directly
no outgoing calls
no test coverage detected