concord-consortium/lab — pull request #15 by rklancer (2012-10-11 19:50:22+00:00)
Title: temporarily incorporate jQuery UI Touch Punch library to get touch-responsive sliders

The touch-punch library itself seems to scope itself *just* to jQuery
UI (it converts touch events to mouse events by modifying the
prototype of a jQuery UI-specific mouse handler)

It's tiny enough that we should be able to modify it ourselves if
problems were ever to arise and the original developer were
unresponsive: https://github.com/furf/jquery-ui-touch-punch/blob/master/jquery.ui.touch-punch.js

However, we shouldn't need it long. I'm sure will extend the d3-based
slider soon, and this will have touch support.

I can confirm that it works adequately on Mobile Safari on a "new
iPad", and on my Android phone (a Galaxy SIII). I say "adequately"
because sliders present a small target for touches, and are one of
those UI elements that deserves a rethought, mobile-specific
implementation that looks and acts somewhat differently than the
corresponding desktop element.