mbostock/d3 — pull request #701 by jasondavies (2012-07-05 07:48:07+00:00)
Title: Don't interpret double-pan as double-tap.

Firstly, the last-touched-time was being set on touchend, even if a pan gesture had occurred. This caused a pan quickly followed by a single tap to be interpreted as a double-tap. In this fix, the time is only set on touchstart.

Secondly, the time is cleared on touchmove, so that a pan gesture cancels double-tap detection.