support 1.6.4 to 1.7.0 by defaulting to just props where the mouseHooks haven't been added

This commit is contained in:
John Bender 2011-12-19 13:13:48 -08:00
parent 286f8c35ff
commit f5c5c9a19a

View file

@ -23,7 +23,8 @@ var dataPropertyName = "virtualMouseBindings",
touchTargetPropertyName = "virtualTouchID",
virtualEventNames = "vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split( " " ),
touchEventProps = "clientX clientY pageX pageY screenX screenY".split( " " ),
mouseEventProps = $.event.props.concat( $.event.mouseHooks.props ),
mouseHookProps = $.event.mouseHooks ? $.event.mouseHooks.props : [],
mouseEventProps = $.event.props.concat( mouseHookProps ),
activeDocHandlers = {},
resetTimerID = 0,
startX = 0,