goujona/jquery-mobile — comment on commit c3c5fa5b6e4b091d27485b1f6b1551a1069f14ea
File: js/jquery.mobile.event.js line 178
By goujona:

It looks like an typo at first glance but actually it's OK.
In fact, this code has been written to detect horizontal swipe events so event.special.swipe.the deltaX must be high (deltaX>horizontalDistanceThreshold -> x>30) and deltaY must be low (deltaY y<75).

As I'm trying to detect a vertical movement, these requierements are reversed :
deltaX must be low and deltaY must be high

I know that's confusing but that's only an issue with understanding of what do horizontalDistanceThreshold and verticalDistanceThreshold in what case.
It's not that important contrary to the fact that we try to prevent scrolling but of course, I'm open to any comment.