(e)
| 3446 | } |
| 3447 | }; |
| 3448 | function isMouseLikeTouchEvent(e) { |
| 3449 | if (e.touches.length != 1) return false; |
| 3450 | var touch = e.touches[0]; |
| 3451 | return touch.radiusX <= 1 && touch.radiusY <= 1; |
| 3452 | } |
| 3453 | function farAway(touch, other) { |
| 3454 | if (other.left == null) return true; |
| 3455 | var dx = other.left - touch.left, dy = other.top - touch.top; |
no outgoing calls
no test coverage detected