benmajor/jQuery-Mobile-Events — pull request #29 by spadin (2013-08-01 18:22:43+00:00)
Title: Initializing swipedir in touchEnd function

This appears to be related to Issue #27

In the iOS simulator I get this error:

ReferenceError: Can't find variable: swipedir

I tracked it down to the `touchEnd` function. It appears `swipedir` is never declared in that function so when you create the `touchData` object `swipedir` could be undefined when you call the `replace` method.