flamejs/flame.js — pull request #81 by pjmorse (2012-10-18 01:14:07+00:00)
Title: Touch event support for Panel, ListView, SplitView and LabelView

This addresses #76.

* Panels which can be moved and resized can be moved and resized with touches. Touches outside the panel will close modal panels.
* ListViews support selecting and reordering with touches.
* LabelViews support touchStart for anything that was supported by mouseDown before.
* SplitViews may be resized with touches.

I don't pretend this is full touch support. Notably, I didn't tackle MenuView, SelectButtonView, ScrollView, TableView and TableDataView. This is because in most cases all I'm doing is normalizing the touch event and passing it along to the corresponding mouse event. (The normalize function, which I included in Flame.State because that's where most events are handled, was based on one provided by @lukemelia.)

However, it's enough to make my application function. If someone needs the five views I mentioned not working on, or another one, and can describe how that view ought to behave in response to touch events, I'd be happy to keep going.