src/project/FileTreeView.js
function (e) {
            e.stopPropagation();
            if (e.button === RIGHT_MOUSE_BUTTON ||
                    (this.props.platform === "mac" && e.button === LEFT_MOUSE_BUTTON && e.ctrlKey)) {
                this.props.actions.setContext(this.myPath());
                e.preventDefault();
                return;
            }
            // Return true only for mouse down in rename mode.
            if (this.props.entry.get("rename")) {
                return;
            }
        }
function (e) {
            e.stopPropagation();
            if (e.button === RIGHT_MOUSE_BUTTON ||
                    (this.props.platform === "mac" && e.button === LEFT_MOUSE_BUTTON && e.ctrlKey)) {
                this.props.actions.setContext(this.myPath());
                e.preventDefault();
                return;
            }
            // Return true only for mouse down in rename mode.
            if (this.props.entry.get("rename")) {
                return;
            }
        }
function ( e ) { e . stopPropagation ( ) ; if ( e . button === RIGHT_MOUSE_BUTTON || ( this . props . platform === "mac" && e . button === LEFT_MOUSE_BUTTON && e . ctrlKey ) ) { this . props . actions . setContext ( this . myPath ( ) ) ; e . preventDefault ( ) ; return ; } // Return true only for mouse down in rename mode. if ( this . props . entry . get ( "rename" ) ) { return ; } }
Send matching mouseDown events to the action creator as a setContext action.
Send matching mouseDown events to the action creator as a setContext action .