src/core/services/gesture/gesture.js
function getEventPoint(ev) {
  ev = ev.originalEvent || ev; // support jQuery events
  return (ev.touches && ev.touches[0]) ||
    (ev.changedTouches && ev.changedTouches[0]) ||
    ev;
}
function getEventPoint(ev) {
  ev = ev.originalEvent || ev; // support jQuery events
  return (ev.touches && ev.touches[0]) ||
    (ev.changedTouches && ev.changedTouches[0]) ||
    ev;
}
function getEventPoint ( ev ) { ev = ev . originalEvent || ev ; // support jQuery events return ( ev . touches && ev . touches [ 0 ] ) || ( ev . changedTouches && ev . changedTouches [ 0 ] ) || ev ; }
Normalize the point where the DOM event happened whether it's touch or mouse.
@returns point event obj with pageX and pageY on it.
Normalize the point where the DOM event happened whether it s touch or mouse .