Skip to content

Commit

Permalink
Merge pull request #64 from usmonster/release-190
Browse files Browse the repository at this point in the history
Release v1.9.0
  • Loading branch information
usmonster authored Sep 1, 2017
2 parents 80d6b5e + 26050eb commit caaf69a
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-hoverintent",
"version": "1.8.1",
"version": "1.9.0",
"homepage": "http://briancherne.github.io/jquery-hoverIntent/",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ <h2>Known Defects</h2>
<h2>Release History</h2>
<ul>
<li><a href="https://github.com/briancherne/jquery-hoverIntent/releases">All newer releases</a></li>
<li>v1.9.0 = (2015) Refactored plugin to fix a long-standing bug that prevented multiple instances of the plugin to be active on the same element. Exports plugin as an <a href="http://requirejs.org/docs/whyamd.html">AMD</a> module so it can be used with AMD loaders. The <code>pageX</code> and <code>pageY</code> properties of the event passed to the "over" handler now reflect current mouse position. <em>Note that this may be a breaking change for some; if your "over" handler requires the unmodified coordinates from original mouseover, you can read them from the <code>event.originalEvent</code></em>. Many other improvements and bug fixes.</li>
<li>v1.9.0 = (2015, 2017) Refactored plugin to fix a long-standing bug that prevented multiple instances of the plugin to be active on the same element. Exports plugin as an <a href="http://requirejs.org/docs/whyamd.html">AMD</a> module so it can be used with AMD loaders. The <code>pageX</code> and <code>pageY</code> properties of the event passed to the "over" handler now reflect current mouse position. <em>Note that this may be a breaking change for some; if your "over" handler requires the unmodified coordinates from original mouseover, you can read them from the <code>event.originalEvent</code></em>. Many other improvements and bug fixes.</li>
<li>v1.8.1 = (2014) Minor update: fixes bower.json to indicate that the plugin works with all versions of jQuery &gt;= 1.9.1.</li>
<li>v1.8.0 = (2014) Changed to <a href="http://semver.org">Semantic Versioning</a> (from r8 to v1.8.0). Removed <a href="https://en.wikipedia.org/wiki/Zero-width_no-break_space">U+FEFF character</a> from beginning of JS file. Removed stray "jQuery" in favor of "$" for noConflict situations. Changed measurements to use Euclidean (instead of rectilinear) distance. Thanks to <a href="https://github.com/briancherne/jquery-hoverIntent/graphs/contributors">the GitHub community</a> for patches, suggestions, and fixes!</li>
<li>r7 = (2013) Added event delegation via "selector" param/property. Added namespaced events for better isolation. Added handlerInOut support.</li>
Expand Down
4 changes: 2 additions & 2 deletions jquery.hoverIntent.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*!
* hoverIntent v1.8.1 // 2014.08.11 // jQuery v1.9.1+
* 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, 2014 Brian Cherne
* Copyright 2007-2017 Brian Cherne
*/

/* hoverIntent is similar to jQuery's built-in "hover" method except 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.

46 changes: 46 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "jquery-hoverIntent",
"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.",
"keywords": [
"browser",
"delay",
"events",
"hover",
"hoverintent",
"intent",
"jquery",
"jquery-plugin",
"mouse",
"mouseenter",
"mouseover",
"plugin"
],
"main": "jquery.hoverIntent.js",
"homepage": "http://briancherne.github.io/jquery-hoverIntent/",
"author": "Brian Cherne <[email protected]>",
"contributors": [
"usmonster (https://github.com/usmonster)"
],
"repository": {
"type": "git",
"url": "https://github.com/briancherne/jquery-hoverIntent.git"
},
"bugs": {
"url": "https://github.com/briancherne/jquery-hoverIntent/issues"
},
"dependencies": {
"jquery": ">=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"
}

0 comments on commit caaf69a

Please sign in to comment.