]> source.dussan.org Git - jquery.git/commitdiff
Updates rmouseEvent
authorRick Waldron <waldron.rick@gmail.com>
Tue, 20 Sep 2011 17:14:59 +0000 (13:14 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Tue, 20 Sep 2011 17:14:59 +0000 (13:14 -0400)
src/event.js

index 7fdcba5add37334e6b9847d2ab38945d3b7b0ffb..2ae41a45879729412829f748666dd0286fcaf0dc 100644 (file)
@@ -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",