Permalink
Browse files

adds package.json, bumps version & years

  • Loading branch information...
usmonster committed Aug 3, 2017
1 parent 2790012 commit 1ef6bc174aded6a55e35b379cadb806b5de43cd5
Showing with 43 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 bower.json
  3. +1 −1 index.html
  4. +2 −2 jquery.hoverIntent.js
  5. +38 −0 package.json
View
@@ -0,0 +1 @@
node_modules
View
@@ -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",
View
@@ -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>
View
@@ -1,10 +1,10 @@
/*!
* hoverIntent v1.8.1 // 2014.08.11 // jQuery v1.9.1+
* hoverIntent v1.9.0 // 2017.09.03 // 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
View
@@ -0,0 +1,38 @@
{
"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": [
"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 <brian@cherne.net>",
"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"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"license": "MIT"
}

0 comments on commit 1ef6bc1

Please sign in to comment.