X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/61343b82c4f0da4c68e4c6373daafff4a81efdd1..refs/tags/wordpress-3.9.1:/wp-includes/js/hoverIntent.min.js diff --git a/wp-includes/js/hoverIntent.min.js b/wp-includes/js/hoverIntent.min.js index 9a7644cb..1b940620 100644 --- a/wp-includes/js/hoverIntent.min.js +++ b/wp-includes/js/hoverIntent.min.js @@ -1,9 +1 @@ -/*! - * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+ - * http://cherne.net/brian/resources/jquery.hoverIntent.html - * - * You may use hoverIntent under the terms of the MIT license. Basically that - * means you are free to use hoverIntent as long as this header is left intact. - * Copyright 2007, 2013 Brian Cherne - */ -(function(a){a.fn.hoverIntent=function(m,d,h){var j={interval:100,sensitivity:7,timeout:0};if(typeof m==="object"){j=a.extend(j,m)}else{if(a.isFunction(d)){j=a.extend(j,{over:m,out:d,selector:h})}else{j=a.extend(j,{over:m,out:m,selector:d})}}var l,k,g,f;var e=function(n){l=n.pageX;k=n.pageY};var c=function(o,n){n.hoverIntent_t=clearTimeout(n.hoverIntent_t);if((Math.abs(g-l)+Math.abs(f-k))