Skip to content

Commit 26050eb

Browse files
committed
adds minified (well, uglified) version
Also adds script to build it. Closes #32.
1 parent 1ef6bc1 commit 26050eb

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

jquery.hoverIntent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* hoverIntent v1.9.0 // 2017.09.03 // jQuery v1.7.0+
2+
* hoverIntent v1.9.0 // 2017.09.01 // jQuery v1.7.0+
33
* http://briancherne.github.io/jquery-hoverIntent/
44
*
55
* You may use hoverIntent under the terms of the MIT license. Basically that

jquery.hoverIntent.min.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.9.0",
44
"description": "A jQuery plug-in that attempts to determine the user's intent on mouseover. To delay or prevent the accidental firing of callbacks.",
55
"keywords": [
6+
"browser",
67
"delay",
78
"events",
89
"hover",
@@ -31,7 +32,14 @@
3132
"dependencies": {
3233
"jquery": ">=1.7.0"
3334
},
35+
"peerDependencies": {
36+
"jquery": ">=1.7.0"
37+
},
38+
"devDependencies": {
39+
"uglify-js": "^3.0.28"
40+
},
3441
"scripts": {
42+
"build": "uglifyjs jquery.hoverIntent.js -c --comments '/^!/' -o jquery.hoverIntent.min.js",
3543
"test": "echo \"Error: no test specified\" && exit 1"
3644
},
3745
"license": "MIT"

0 commit comments

Comments
 (0)