javascript/atoms/events.js
function createGenericTouchList(touchListArgs) {
    var touches = goog.array.map(touchListArgs, function(touchArg) {
      // The target field is not part of the W3C spec, but both android and iOS
      // add the target field to each touch.
      return {
        identifier: touchArg.identifier,
        screenX: touchArg.screenX,
        screenY: touchArg.screenY,
        clientX: touchArg.clientX,
        clientY: touchArg.clientY,
        pageX: touchArg.pageX,
        pageY: touchArg.pageY,
        target: target
      };
    });
    touches.item = function(i) {
      return touches[i];
    };
    return touches;
  }
function createGenericTouchList(touchListArgs) {
    var touches = goog.array.map(touchListArgs, function(touchArg) {
      // The target field is not part of the W3C spec, but both android and iOS
      // add the target field to each touch.
      return {
        identifier: touchArg.identifier,
        screenX: touchArg.screenX,
        screenY: touchArg.screenY,
        clientX: touchArg.clientX,
        clientY: touchArg.clientY,
        pageX: touchArg.pageX,
        pageY: touchArg.pageY,
        target: target
      };
    });
    touches.item = function(i) {
      return touches[i];
    };
    return touches;
  }
function createGenericTouchList ( touchListArgs ) { var touches = goog . array . map ( touchListArgs , function ( touchArg ) { // The target field is not part of the W3C spec, but both android and iOS // add the target field to each touch. return { identifier : touchArg . identifier , screenX : touchArg . screenX , screenY : touchArg . screenY , clientX : touchArg . clientX , clientY : touchArg . clientY , pageX : touchArg . pageX , pageY : touchArg . pageY , target : target } ; } ) ; touches . item = function ( i ) { return touches [ i ] ; } ; return touches ; }
Creates a TouchList, using simulated touch Api, for touch events.
Creates a TouchList using simulated touch Api for touch events .