]> source.dussan.org Git - jquery.git/commit
DRY the hover pseudo-event, get the type right, allow override.
authorDave Methvin <dave.methvin@gmail.com>
Thu, 27 Oct 2011 21:11:40 +0000 (17:11 -0400)
committerDave Methvin <dave.methvin@gmail.com>
Thu, 27 Oct 2011 21:11:40 +0000 (17:11 -0400)
commit5c0c86378a602fbc06535617fc5d712fa6d6e024
tree1329f2ad0252f2f39611f5983f1cf0a0be3e55d7
parentdf4a160be7fcc234a8e17eccb1c3fd02f231bcfc
DRY the hover pseudo-event, get the type right, allow override.

Now with working unit test for extra correctness! If external code defines a special.hover event, we won't string-hack "hover" into "mouseenter mouseleave".
src/event.js
test/unit/event.js