Touch Event: jQuery Event normalization does not preserve the event.touches (at least on iOS/iPad)

Touch Event: jQuery Event normalization does not preserve the event.touches (at least on iOS/iPad)

$(document).bind("touchstart touchmove touchend",function(event){

debug("touch event " + event.type + " touches: " + event.touches);

});

// doing this will pretty will print ".... touches: undefined"


Workaround: Luckily, jQuery keep the originalEvent handy (thank you!)

debug ( "touch event "  + event .type  +  " touches: "  + event .originalEvent.touches );