codrops/DirectionAwareHoverEffect — pull request #6 by afercia (2014-02-18 22:03:52+00:00)
Title: fixed typo and logic

1. Typo: see jQuery documentation:
https://api.jquery.com/on/
where events are "One or more space-separated event types" and not comma separated.

2. Logic: especially for Firefox, there's the need to clear the transition property before the new starting position is applied, otherwise the element will move to its new starting position executing the animation, being too slow to work correctly.
The new starting position applied with:
$hoverElem.hide().css( styleCSS.from );
must be applied immediately.