code: function(touches) {
          var t0 = touches[0];
          var t1 = touches[1];
          return Math.sqrt(
              Math.pow(t0.olClientX - t1.olClientX, 2) +
              Math.pow(t0.olClientY - t1.olClientY, 2)
          );
      }
docs: Method: getDistance
  Get the distance in pixels between two touches.
  
  Parameters:
  touches - {Array(Object)}
  
  Returns:
  {Number} The distance in pixels.