rmouseEvent = /^(?:mouse|contextmenu)|click/,
rkeyEvent = /^(?:key)/,
rquickIs = /^([\w\-]+)?(?:#([\w\-]+))?(?:\.([\w\-]+))?(?:\[([\w+\-]+)=["']?([\w\-]*)["']?\])?(?::(first-child|last-child|empty))?$/,
+ mouseProps = "layerX layerY clientX clientY offsetX offsetY wheelDelta".split(" "),
quickPseudoMap = {
"empty": "firstChild",
"first-child": "previousSibling",
jQuery.event.propHooks[ name ] = function( event, original ) {
if ( !event ) {
- return "layerX layerY clientX clientY offsetX offsetY wheelDelta".split(" ");
+ return mouseProps;
}
var eventDoc, doc, body,