Skip to content
Browse files


  • Loading branch information...
1 parent 85d1d6b commit 9344d1d677886e03174d815321deebd4b67c08c6 @dotmaster committed Jan 21, 2011
Showing with 11 additions and 0 deletions.
  1. +9 −0 History.html
  2. +2 −0 utils/update-gh-pages.js
9 History.html
@@ -10,4 +10,13 @@
<li>Fixed bug with addEventListener not working in IE</li>
<li>merged with branch gh-pages</li>
<li>Made anchor links not preventDefault by default on touchstart event (affected mobile safari not firing click events on anchor elements)</li>
+<h2>0.0.4 / 2010-01-21</h2>
+<li>reengineered the anchor link fix, cause I didn't like the approach taken in 0.0.3. The approach in 0.0.3 fixed the problem not at it's source, namely the browser inconsistency on mobile devices, which seem to mis-interpretate preventDefault as a stopPropagation, thus not fireing any other events bound to that object. This was not affectin only Anchor Elements, so I decided to let touchstart again prevent default, and included instead a special fix for mobile browsers in that I fire a click event on touchend manually. Don't know if this is a better fix, but it seems a bit more elegant to me right now. </li>
+<li>added hittarget to touch event: as mobile browsers results on event targets differ from desktop, I added a 3rd target which is evaluated by using document.elementFromPoint and especially oin mobile Safari gives the right touch target (whereas currentTarget and Target won't</li>
+<li>fixed the logging function</li>
+<li>pass the options passed to Hoverable to the internal Touchable object too</li>
2 utils/update-gh-pages.js
@@ -41,8 +41,10 @@ process.chdir('.');
console.log('Working directory: ' + process.cwd());
add('git checkout gh-pages');
add('nmd -o index.html');
add('ln -s hoverable.js demo/hoverable.js');
add('ln -s touchable.js demo/touchable.js');
+add('git merge master');
add('git commit');
add('git checkout master');

0 comments on commit 9344d1d

Please sign in to comment.
Something went wrong with that request. Please try again.