()
| 3418 | // Used to suppress mouse event handling when a touch happens |
| 3419 | var touchFinished, prevTouch = {end: 0}; |
| 3420 | function finishTouch() { |
| 3421 | if (d.activeTouch) { |
| 3422 | touchFinished = setTimeout(function() {d.activeTouch = null;}, 1000); |
| 3423 | prevTouch = d.activeTouch; |
| 3424 | prevTouch.end = +new Date; |
| 3425 | } |
| 3426 | }; |
| 3427 | function isMouseLikeTouchEvent(e) { |
| 3428 | if (e.touches.length != 1) return false; |
| 3429 | var touch = e.touches[0]; |
no outgoing calls
no test coverage detected