webpack-example/node_modules/@egjs/axes/dist/axes.pkgd.js
/**
     * @private
     * create a simple clone from the input used for storage of firstInput and firstMultiple
     * @param {Object} input
     * @returns {Object} clonedInputData
     */
@private
create a simple clone from the input used for storage of firstInput and firstMultiple
@param {Object} input
@returns {Object} clonedInputData
@private create a simple clone from the input used for storage of firstInput and firstMultiple @param { Object } input @returns { Object } clonedInputData
function simpleCloneInputData(input) {
      var pointers = [];
      var i = 0;
      while (i < input.pointers.length) {
        pointers[i] = {
          clientX: round(input.pointers[i].clientX),
          clientY: round(input.pointers[i].clientY)
        };
        i++;
      }
      return {
        timeStamp: now(),
        pointers: pointers,
        center: getCenter(pointers),
        deltaX: input.deltaX,
        deltaY: input.deltaY
      };
    }
function simpleCloneInputData ( input ) { var pointers = [ ] ; var i = 0 ; while ( i < input . pointers . length ) { pointers [ i ] = { clientX : round ( input . pointers [ i ] . clientX ) , clientY : round ( input . pointers [ i ] . clientY ) } ; i ++ ; } return { timeStamp : now ( ) , pointers : pointers , center : getCenter ( pointers ) , deltaX : input . deltaX , deltaY : input . deltaY } ; }
@private
 create a simple clone from the input used for storage of firstInput and firstMultiple
 @param {Object} input
 @returns {Object} clonedInputData
@private create a simple clone from the input used for storage of firstInput and firstMultiple @param { Object } input @returns { Object } clonedInputData
// make a simple copy of the pointers because we will get a reference if we don't // we only need clientXY for the calculations