From: Rick Waldron Date: Tue, 20 Sep 2011 17:14:59 +0000 (-0400) Subject: Updates rmouseEvent X-Git-Tag: 1.7b1~9^2~2^2~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3d39b7d52763d1aa337ccc17482ca54af530fb1f;p=jquery.git Updates rmouseEvent --- diff --git a/src/event.js b/src/event.js index 7fdcba5ad..2ae41a458 100644 --- a/src/event.js +++ b/src/event.js @@ -7,7 +7,7 @@ var rnamespaces = /\.(.*)$/, rescape = /[^\w\s.|`]/g, rtypenamespace = /^([^\.]*)?(?:\.(.+))?$/, rhoverHack = /\bhover(\.\S+)?/, - rmouseEvent = /^(?:mouse)|(?:click)|(contextmenu)/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, rquickIs = /^([\w\-]+)?(?:#([\w\-]+))?(?:\.([\w\-]+))?(?:\[([\w+\-]+)=["']?([\w\-]*)["']?\])?(?::(first-child|last-child|empty))?$/, quickPseudoMap = { "empty": "firstChild",