code: function endHandler(evt) {
          if (IN_SCALE_MODE) {
              var result = 0;
              if (gesture === 2) {//双手指
                  resetImage(evt);
                  result = 2;
              } else if (gesture == 1) {//放大拖拽
                  resetImage(evt);
                  result = 1;
              } else if (gesture === 3) {//双击
                  handleDoubleTap(evt);
                  resetImage(evt);
                  IN_SCALE_MODE = false;
              }
  
              if (result > 0) {
                  return;
              }
          }
          endHandlerOriginal.call(this, evt);
      }
docs: End event handle
  @param evt