ExtDraggableObject/src/ExtDraggableObject.js
function mouseMove_(ev) {
    var e=ev||event;
    currentX_ = formerX_+((e.pageX||(e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft))-formerMouseX_);
    currentY_ = formerY_+((e.pageY||(e.clientY+document.body.scrollTop+document.documentElement.scrollTop))-formerMouseY_);
    formerX_ = currentX_;
    formerY_ = currentY_;
    formerMouseX_ = e.pageX||(e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft);
    formerMouseY_ = e.pageY||(e.clientY+document.body.scrollTop+document.documentElement.scrollTop);
    if (moving_) {
      moveTo_(currentX_,currentY_, preventDefault_);
      event_.trigger(me, "drag", {mouseX: formerMouseX_, mouseY: formerMouseY_, startLeft: originalX_, startTop: originalY_, event:e});
    }
  }
function mouseMove_(ev) {
    var e=ev||event;
    currentX_ = formerX_+((e.pageX||(e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft))-formerMouseX_);
    currentY_ = formerY_+((e.pageY||(e.clientY+document.body.scrollTop+document.documentElement.scrollTop))-formerMouseY_);
    formerX_ = currentX_;
    formerY_ = currentY_;
    formerMouseX_ = e.pageX||(e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft);
    formerMouseY_ = e.pageY||(e.clientY+document.body.scrollTop+document.documentElement.scrollTop);
    if (moving_) {
      moveTo_(currentX_,currentY_, preventDefault_);
      event_.trigger(me, "drag", {mouseX: formerMouseX_, mouseY: formerMouseY_, startLeft: originalX_, startTop: originalY_, event:e});
    }
  }
function mouseMove_ ( ev ) { var e = ev || event ; currentX_ = formerX_ + ( ( e . pageX || ( e . clientX + document . body . scrollLeft + document . documentElement . scrollLeft ) ) - formerMouseX_ ) ; currentY_ = formerY_ + ( ( e . pageY || ( e . clientY + document . body . scrollTop + document . documentElement . scrollTop ) ) - formerMouseY_ ) ; formerX_ = currentX_ ; formerY_ = currentY_ ; formerMouseX_ = e . pageX || ( e . clientX + document . body . scrollLeft + document . documentElement . scrollLeft ) ; formerMouseY_ = e . pageY || ( e . clientY + document . body . scrollTop + document . documentElement . scrollTop ) ; if ( moving_ ) { moveTo_ ( currentX_ , currentY_ , preventDefault_ ) ; event_ . trigger ( me , "drag" , { mouseX : formerMouseX_ , mouseY : formerMouseY_ , startLeft : originalX_ , startTop : originalY_ , event : e } ) ; } }
Handles the mousemove event.
@param {event} ev The event data sent by the browser.
@private
Handles the mousemove event .