Commit 87e1c62d authored by Rick Waldron's avatar Rick Waldron

Moves mouse properties to mouseProps

parent c80ad252
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment