Skip to content
Permalink
Browse files

Moves mouse properties to mouseProps

  • Loading branch information...
rwaldron committed Sep 23, 2011
1 parent c80ad25 commit 87e1c62d8e5a916587217196ee7d1755bc9115ca
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/event.js
@@ -10,6 +10,7 @@ var rnamespaces = /\.(.*)$/,
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",
@@ -1098,7 +1099,7 @@ jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblcl
jQuery.event.propHooks[ name ] = function( event, original ) {

if ( !event ) {
return "layerX layerY clientX clientY offsetX offsetY wheelDelta".split(" ");
return mouseProps;
}

var eventDoc, doc, body,

0 comments on commit 87e1c62

Please sign in to comment.
You can’t perform that action at this time.