()
| 3439 | // Used to suppress mouse event handling when a touch happens |
| 3440 | var touchFinished, prevTouch = {end: 0}; |
| 3441 | function finishTouch() { |
| 3442 | if (d.activeTouch) { |
| 3443 | touchFinished = setTimeout(function() {d.activeTouch = null;}, 1000); |
| 3444 | prevTouch = d.activeTouch; |
| 3445 | prevTouch.end = +new Date; |
| 3446 | } |
| 3447 | }; |
| 3448 | function isMouseLikeTouchEvent(e) { |
| 3449 | if (e.touches.length != 1) return false; |
| 3450 | var touch = e.touches[0]; |
no outgoing calls
no test coverage detected