Skip to content

Commit

Permalink
Changed to symantic versioning (from r8 to v1.8.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
briancherne committed Jun 29, 2014
1 parent 09215ef commit 83d2877
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 22 deletions.
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": "8",
"version": "1.8.0",
"homepage": "http://cherne.net/brian/resources/jquery.hoverIntent.html",
"repository": {
"type": "git",
Expand Down
30 changes: 10 additions & 20 deletions jquery.hoverIntent.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<title>hoverIntent jQuery Plug-in</title>
<link rel="stylesheet" type="text/css" href="/cherne.css" />
<link rel="stylesheet" type="text/css" href="/cherne_print.css" media="print" />
<!-- CHERNE.NET CSS -->
<link rel="stylesheet" type="text/css" href="http://cherne.net/cherne.css" />
<link rel="stylesheet" type="text/css" href="http://cherne.net/cherne_print.css" media="print" />

<!-- jQuery and hoverIntent -->
<script type="text/javascript" src="http://code.jquery.com/jquery.js"></script>
<script type="text/javascript" src="./jquery.hoverIntent.js"></script>

Expand Down Expand Up @@ -44,14 +44,13 @@

</head>

<body id="RESOURCES">
<body>

<div id="pageHeader">
<ul id="nav1">
<li><a href="/">cherne.net</a></li>
<li><a href="/brian/resume/">Resume</a></li>
<li><a href="/brian/portfolio/">Portfolio</a></li>
<li><a href="/brian/resources/" class="current">Resources</a></li>
<li><a href="http://cherne.net/">cherne.net</a></li>
<li><a href="http://cherne.net/brian/resume/">Resume</a></li>
<li><a href="http://cherne.net/brian/resources/" class="current">Resources</a></li>
</ul>
<h1>hoverIntent jQuery Plug-in</h1>
</div>
Expand All @@ -63,9 +62,6 @@ <h1>hoverIntent jQuery Plug-in</h1>
<h2>What is hoverIntent?</h2>
<p>hoverIntent is a plug-in that attempts to determine the user's intent... like a crystal ball, only with mouse movement! It is similar to <a href="http://api.jquery.com/hover/">jQuery's hover method</a>. However, instead of calling the handlerIn function immediately, hoverIntent waits until the user's mouse slows down enough before making the call.</p>
<p>Why? To delay or prevent the accidental firing of animations or ajax calls. Simple timeouts work for small areas, but if your target area is large it may execute regardless of intent. That's where hoverIntent comes in...</p>
<p class="download"><a href="jquery.hoverIntent.js">Download hoverIntent r7 (fully-commented, uncompressed)</a></p>
<p class="download"><a href="jquery.hoverIntent.minified.js">Download hoverIntent r7 (minified)</a></p>


<h2>Examples</h2>

Expand Down Expand Up @@ -175,9 +171,9 @@ <h2 id="defects">Known Defects</h2>
<p>If you place an element flush against the edge of the browser chrome, sometimes Internet Explorer does not trigger a "mouseleave" event if your cursor leaves the element/browser in that direction. hoverIntent cannot correct for this.</p>
<p>Please email me <strong>brian(at)cherne(dot)net</strong> if you have questions or would like to notify me of any defects.</p>


<h2>Release History</h2>
<ul>
<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 github community 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>
<li>r6 = (2011) Identical to r5 except that the Google Chrome defect is fixed once you upgrade to jQuery 1.5.1 (or later).</li>
<li>r5 = (2007) Added state to prevent unmatched function calls. This and previous releases suffer from <a href="http://code.google.com/p/chromium/issues/detail?id=68861">a defect in Google Chrome that improperly triggers mouseout when entering a child input[type=text] element</a>.</li>
Expand All @@ -190,11 +186,5 @@ <h2>Release History</h2>
</div><!-- close #main -->

</div><!-- close #pageContent -->

<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3082227-1");
pageTracker._trackPageview();
</script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion jquery.hoverIntent.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* hoverIntent r8 // 2014.06.29 // jQuery 1.9.1+
* hoverIntent v1.8.0 // 2014.06.29 // jQuery v1.9.1+
* http://cherne.net/brian/resources/jquery.hoverIntent.html
*
* You may use hoverIntent under the terms of the MIT license. Basically that
Expand Down

0 comments on commit 83d2877

Please sign in to comment.