src/mousetracker.js
/**
     * Note: Called for both pointer events and legacy mouse events
     *         ($.MouseTracker.havePointerEvents determines which)
     *
     * This handler is attached to the window object (on the capture phase) to emulate mouse capture.
     * onPointerUp is still attached to the tracked element, so stop propagation to avoid processing twice.
     *
     * @private
     * @inner
     */
Called for both pointer events and legacy mouse events
($.MouseTracker.havePointerEvents determines which)

This handler is attached to the window object (on the capture phase) to emulate mouse capture.
onPointerUp is still attached to the tracked element, so stop propagation to avoid processing twice.

@private
@inner
Called for both pointer events and legacy mouse events ( $ . MouseTracker . havePointerEvents determines which ) This handler is attached to the window object ( on the capture phase ) to emulate mouse capture . onPointerUp is still attached to the tracked element so stop propagation to avoid processing twice . @private @inner
function onPointerUpCaptured( tracker, event ) {
        var pointsList = tracker.getActivePointersListByType( getPointerType( event ) );
        if ( pointsList.getById( event.pointerId ) ) {
            handlePointerUp( tracker, event );
        }
        $.stopEvent( event );
    }
function onPointerUpCaptured ( tracker , event ) { var pointsList = tracker . getActivePointersListByType ( getPointerType ( event ) ) ; if ( pointsList . getById ( event . pointerId ) ) { handlePointerUp ( tracker , event ) ; } $ . stopEvent ( event ) ; }
Note: Called for both pointer events and legacy mouse events
         ($.MouseTracker.havePointerEvents determines which)
Note : Called for both pointer events and legacy mouse events ( $ . MouseTracker . havePointerEvents determines which )