()
| 3309 | // Used to suppress mouse event handling when a touch happens |
| 3310 | var touchFinished, prevTouch = {end: 0}; |
| 3311 | function finishTouch() { |
| 3312 | if (d.activeTouch) { |
| 3313 | touchFinished = setTimeout(function() {d.activeTouch = null;}, 1000); |
| 3314 | prevTouch = d.activeTouch; |
| 3315 | prevTouch.end = +new Date; |
| 3316 | } |
| 3317 | }; |
| 3318 | function isMouseLikeTouchEvent(e) { |
| 3319 | if (e.touches.length != 1) return false; |
| 3320 | var touch = e.touches[0]; |
no outgoing calls
no test coverage detected