[jQuery] Re: Trying to add targetTouches to jQuery event objects

2009-10-25 Thread dinoboff
ndex or -1. On Oct 24, 8:36 pm, dinoboff wrote: > I tried adding them to $.event.props like this: > >         $.each(['touches', 'targetTouches'], function(){ >                 if (!($.inArray($.event.props, this))) { >                         $.event.props.push(t

[jQuery] Trying to add targetTouches to jQuery event objects

2009-10-24 Thread dinoboff
Hi, On touchstart and touchmove event, the event object has touches and targetTouches properties (see http://bit.ly/Q6uOD), however the jQuery.Event doesn't seem to copy these properties. I tried adding them to $.event.props like this: $.each(['touches', 'targetTouches'], function(){