diff --git a/jquery.hoverIntent.js b/jquery.hoverIntent.js index 311aa86..1300148 100644 --- a/jquery.hoverIntent.js +++ b/jquery.hoverIntent.js @@ -1,5 +1,5 @@ /*! - * hoverIntent v1.10.1 // 2019.10.05 // jQuery v1.7.0+ + * hoverIntent v1.10.2 // 2020.04.28 // jQuery v1.7.0+ * http://briancherne.github.io/jquery-hoverIntent/ * * You may use hoverIntent under the terms of the MIT license. Basically that @@ -93,7 +93,7 @@ }; // checks if `value` is a function - var isFunction = function (value) { + var isFunction = function(value) { return typeof value === 'function'; }; diff --git a/jquery.hoverIntent.min.js b/jquery.hoverIntent.min.js index 8626550..270354a 100644 --- a/jquery.hoverIntent.min.js +++ b/jquery.hoverIntent.min.js @@ -1,9 +1,9 @@ /*! - * hoverIntent v1.10.1 // 2019.10.05 // jQuery v1.7.0+ + * hoverIntent v1.10.2 // 2020.04.28 // jQuery v1.7.0+ * http://briancherne.github.io/jquery-hoverIntent/ * * 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-2019 Brian Cherne */ -!function(factory){"use strict";"function"==typeof define&&define.amd?define(["jquery"],factory):"object"==typeof module&&module.exports?module.exports=factory(require("jquery")):jQuery&&!jQuery.fn.hoverIntent&&factory(jQuery)}(function($){"use strict";function track(ev){cX=ev.pageX,cY=ev.pageY}var cX,cY,_cfg={interval:100,sensitivity:6,timeout:0},INSTANCE_COUNT=0,compare=function(ev,$el,s,cfg){if(Math.sqrt((s.pX-cX)*(s.pX-cX)+(s.pY-cY)*(s.pY-cY))