examples/ionic1/www/lib/ionic/js/ionic.bundle.js
function collectEventData(element, eventType, touches, ev) {

      // find out pointerType
      var pointerType = ionic.Gestures.POINTER_TOUCH;
      if(ev.type.match(/mouse/) || ionic.Gestures.PointerEvent.matchType(ionic.Gestures.POINTER_MOUSE, ev)) {
        pointerType = ionic.Gestures.POINTER_MOUSE;
      }

      return {
        center: ionic.Gestures.utils.getCenter(touches),
        timeStamp: new Date().getTime(),
        target: ev.target,
        touches: touches,
        eventType: eventType,
        pointerType: pointerType,
        srcEvent: ev,

        /**
         * prevent the browser default actions
         * mostly used to disable scrolling of the browser
         */
        preventDefault: function() {
          if(this.srcEvent.preventManipulation) {
            this.srcEvent.preventManipulation();
          }

          if(this.srcEvent.preventDefault) {
            // this.srcEvent.preventDefault();
          }
        },

        /**
         * stop bubbling the event up to its parents
         */
        stopPropagation: function() {
          this.srcEvent.stopPropagation();
        },

        /**
         * immediately stop gesture detection
         * might be useful after a swipe was detected
         * @return {*}
         */
        stopDetect: function() {
          return ionic.Gestures.detection.stopDetect();
        }
      };
    }
function collectEventData(element, eventType, touches, ev) {

      // find out pointerType
      var pointerType = ionic.Gestures.POINTER_TOUCH;
      if(ev.type.match(/mouse/) || ionic.Gestures.PointerEvent.matchType(ionic.Gestures.POINTER_MOUSE, ev)) {
        pointerType = ionic.Gestures.POINTER_MOUSE;
      }

      return {
        center: ionic.Gestures.utils.getCenter(touches),
        timeStamp: new Date().getTime(),
        target: ev.target,
        touches: touches,
        eventType: eventType,
        pointerType: pointerType,
        srcEvent: ev,

        /**
         * prevent the browser default actions
         * mostly used to disable scrolling of the browser
         */
        preventDefault: function() {
          if(this.srcEvent.preventManipulation) {
            this.srcEvent.preventManipulation();
          }

          if(this.srcEvent.preventDefault) {
            // this.srcEvent.preventDefault();
          }
        },

        /**
         * stop bubbling the event up to its parents
         */
        stopPropagation: function() {
          this.srcEvent.stopPropagation();
        },

        /**
         * immediately stop gesture detection
         * might be useful after a swipe was detected
         * @return {*}
         */
        stopDetect: function() {
          return ionic.Gestures.detection.stopDetect();
        }
      };
    }
function collectEventData ( element , eventType , touches , ev ) { // find out pointerType var pointerType = ionic . Gestures . POINTER_TOUCH ; if ( ev . type . match ( / mouse / ) || ionic . Gestures . PointerEvent . matchType ( ionic . Gestures . POINTER_MOUSE , ev ) ) { pointerType = ionic . Gestures . POINTER_MOUSE ; } return { center : ionic . Gestures . utils . getCenter ( touches ) , timeStamp : new Date ( ) . getTime ( ) , target : ev . target , touches : touches , eventType : eventType , pointerType : pointerType , srcEvent : ev , /**
         * prevent the browser default actions
         * mostly used to disable scrolling of the browser
         */ preventDefault : function ( ) { if ( this . srcEvent . preventManipulation ) { this . srcEvent . preventManipulation ( ) ; } if ( this . srcEvent . preventDefault ) { // this.srcEvent.preventDefault(); } } , /**
         * stop bubbling the event up to its parents
         */ stopPropagation : function ( ) { this . srcEvent . stopPropagation ( ) ; } , /**
         * immediately stop gesture detection
         * might be useful after a swipe was detected
         * @return {*}
         */ stopDetect : function ( ) { return ionic . Gestures . detection . stopDetect ( ) ; } } ; }
collect event data for ionic.Gestures js
@param   {HTMLElement}   element
@param   {String}        eventType        like ionic.Gestures.EVENT_MOVE
@param   {Object}        eventData
collect event data for ionic . Gestures js