Remove forgoten code (#3510)

This commit is contained in:
Philippe Potvin 2019-03-05 20:29:27 -05:00 committed by GitHub
parent 90e8c1a766
commit 1127e8e7ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 13 deletions

View file

@ -86,7 +86,6 @@ class TermGroup_ extends React.PureComponent {
onResize: this.bind(this.props.onResize, null, uid),
onTitle: this.bind(this.props.onTitle, null, uid),
onData: this.bind(this.props.onData, null, uid),
onURLAbort: this.bind(this.props.onURLAbort, null, uid),
onContextMenu: this.bind(this.props.onContextMenu, null, uid),
borderColor: this.props.borderColor,
selectionColor: this.props.selectionColor,

View file

@ -120,7 +120,6 @@ export default class Terms extends React.Component {
onResize: this.props.onResize,
onTitle: this.props.onTitle,
onData: this.props.onData,
onURLAbort: this.props.onURLAbort,
onContextMenu: this.props.onContextMenu,
quickEdit: this.props.quickEdit,
webGLRenderer: this.props.webGLRenderer,

View file

@ -1,12 +1,6 @@
import Terms from '../components/terms';
import {connect} from '../utils/plugins';
import {
resizeSession,
sendSessionData,
exitSessionBrowser,
setSessionXtermTitle,
setActiveSession
} from '../actions/sessions';
import {resizeSession, sendSessionData, setSessionXtermTitle, setActiveSession} from '../actions/sessions';
import {openContextMenu} from '../actions/ui';
import getRootGroups from '../selectors';
@ -64,10 +58,6 @@ const TermsContainer = connect(
dispatch(resizeSession(uid, cols, rows));
},
onURLAbort(uid) {
dispatch(exitSessionBrowser(uid));
},
onActive(uid) {
dispatch(setActiveSession(uid));
},