()
| 7941 | // Used to suppress mouse event handling when a touch happens |
| 7942 | var touchFinished, prevTouch = {end: 0}; |
| 7943 | function finishTouch() { |
| 7944 | if (d.activeTouch) { |
| 7945 | touchFinished = setTimeout(function () { return d.activeTouch = null; }, 1000); |
| 7946 | prevTouch = d.activeTouch; |
| 7947 | prevTouch.end = +new Date; |
| 7948 | } |
| 7949 | } |
| 7950 | function isMouseLikeTouchEvent(e) { |
| 7951 | if (e.touches.length != 1) { return false } |
| 7952 | var touch = e.touches[0]; |
no outgoing calls
no test coverage detected