diff --git a/jquery.hoverIntent.js b/jquery.hoverIntent.js index b377d10..fb7a1be 100644 --- a/jquery.hoverIntent.js +++ b/jquery.hoverIntent.js @@ -1,5 +1,5 @@ /*! - * hoverIntent v1.9.0 // 2017.09.03 // jQuery v1.7.0+ + * hoverIntent v1.9.0 // 2017.09.01 // jQuery v1.7.0+ * http://briancherne.github.io/jquery-hoverIntent/ * * You may use hoverIntent under the terms of the MIT license. Basically that diff --git a/jquery.hoverIntent.min.js b/jquery.hoverIntent.min.js new file mode 100644 index 0000000..ac51410 --- /dev/null +++ b/jquery.hoverIntent.min.js @@ -0,0 +1,9 @@ +/*! + * hoverIntent v1.9.0 // 2017.09.01 // 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-2017 Brian Cherne + */ +!function(factory){"use strict";"function"==typeof define&&define.amd?define(["jquery"],factory):jQuery&&!jQuery.fn.hoverIntent&&factory(jQuery)}(function($){"use strict";var cX,cY,_cfg={interval:100,sensitivity:6,timeout:0},INSTANCE_COUNT=0,track=function(ev){cX=ev.pageX,cY=ev.pageY},compare=function(ev,$el,s,cfg){if(Math.sqrt((s.pX-cX)*(s.pX-cX)+(s.pY-cY)*(s.pY-cY))=1.7.0" }, + "peerDependencies": { + "jquery": ">=1.7.0" + }, + "devDependencies": { + "uglify-js": "^3.0.28" + }, "scripts": { + "build": "uglifyjs jquery.hoverIntent.js -c --comments '/^!/' -o jquery.hoverIntent.min.js", "test": "echo \"Error: no test specified\" && exit 1" }, "license": "MIT"