madrobby/zepto — pull request #496 by hunterloftis (2012-04-29 14:04:46+00:00)
Title: touch.js improvements

Use cases:
- You need buttons with touch actions but you also need to be able to scroll, and scrolling should not trigger taps even when the buttons are used as the scroll anchor.
- You need buttons that have very fast response rates for tap, without the 250ms singleTap delay (for example, counters/tickers where the user expects to be able to tap very quickly to change numbers)

Features:
- scrolling no longer collides with tapping (scroll cancels tap, or intercept on element prevents default on touchmove to disable scroll).
- scrolling test in touch_functional.
- tap event provides cancelTouch(), which prevents later singleTap or doubleTap messages.
- cancelTouch test in touch_functional