Skip to content

Commit

Permalink
adds minified (well, uglified) version
Browse files Browse the repository at this point in the history
Also adds script to build it.
Closes #32.
  • Loading branch information
usmonster committed Sep 1, 2017
1 parent 1ef6bc1 commit 26050eb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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/ * http://briancherne.github.io/jquery-hoverIntent/
* *
* You may use hoverIntent under the terms of the MIT license. Basically that * You may use hoverIntent under the terms of the MIT license. Basically that
Expand Down
9 changes: 9 additions & 0 deletions jquery.hoverIntent.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions package.json
Expand Up @@ -3,6 +3,7 @@
"version": "1.9.0", "version": "1.9.0",
"description": "A jQuery plug-in that attempts to determine the user's intent on mouseover. To delay or prevent the accidental firing of callbacks.", "description": "A jQuery plug-in that attempts to determine the user's intent on mouseover. To delay or prevent the accidental firing of callbacks.",
"keywords": [ "keywords": [
"browser",
"delay", "delay",
"events", "events",
"hover", "hover",
Expand Down Expand Up @@ -31,7 +32,14 @@
"dependencies": { "dependencies": {
"jquery": ">=1.7.0" "jquery": ">=1.7.0"
}, },
"peerDependencies": {
"jquery": ">=1.7.0"
},
"devDependencies": {
"uglify-js": "^3.0.28"
},
"scripts": { "scripts": {
"build": "uglifyjs jquery.hoverIntent.js -c --comments '/^!/' -o jquery.hoverIntent.min.js",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"license": "MIT" "license": "MIT"
Expand Down

0 comments on commit 26050eb

Please sign in to comment.