1- /**
2- * hoverIntent is similar to jQuery's built-in "hover" method except that
3- * instead of firing the handlerIn function immediately, hoverIntent checks
4- * to see if the user's mouse has slowed down (beneath the sensitivity
5- * threshold) before firing the event. The handlerOut function is only
6- * called after a matching handlerIn.
7- *
1+ /*!
82 * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+
93 * http://cherne.net/brian/resources/jquery.hoverIntent.html
104 *
115 * You may use hoverIntent under the terms of the MIT license. Basically that
126 * means you are free to use hoverIntent as long as this header is left intact.
137 * Copyright 2007, 2013 Brian Cherne
8+ */
9+
10+ /* hoverIntent is similar to jQuery's built-in "hover" method except that
11+ * instead of firing the handlerIn function immediately, hoverIntent checks
12+ * to see if the user's mouse has slowed down (beneath the sensitivity
13+ * threshold) before firing the event. The handlerOut function is only
14+ * called after a matching handlerIn.
1415 *
1516 * // basic usage ... just like .hover()
1617 * .hoverIntent( handlerIn, handlerOut )
2728 * @param handlerOut function OR selector for delegation OR undefined
2829 * @param selector selector OR undefined
2930 * @author Brian Cherne <brian(at)cherne(dot)net>
30- ** /
31+ */
3132( function ( $ ) {
3233 $ . fn . hoverIntent = function ( handlerIn , handlerOut , selector ) {
3334
111112 // listen for mouseenter and mouseleave
112113 return this . on ( { 'mouseenter.hoverIntent' :handleHover , 'mouseleave.hoverIntent' :handleHover } , cfg . selector ) ;
113114 } ;
114- } ) ( jQuery ) ;
115+ } ) ( jQuery ) ;
0 commit comments