File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import {CompositeDisposable} from 'event-kit';
5
5
6
6
import RefHolder from '../models/ref-holder' ;
7
7
import { RefHolderPropType } from '../prop-types' ;
8
- import { autobind , extractProps } from '../helpers' ;
8
+ import { extractProps } from '../helpers' ;
9
9
10
10
const editorUpdateProps = {
11
11
mini : PropTypes . bool ,
@@ -28,7 +28,7 @@ export default class AtomTextEditor extends React.Component {
28
28
static propTypes = {
29
29
...editorCreationProps ,
30
30
31
- workspace : PropTypes . object . isRequired , // FIXME make more specific
31
+ workspace : PropTypes . object . isRequired ,
32
32
33
33
didChangeCursorPosition : PropTypes . func ,
34
34
didAddSelection : PropTypes . func ,
@@ -98,7 +98,7 @@ export default class AtomTextEditor extends React.Component {
98
98
this . subs . dispose ( ) ;
99
99
}
100
100
101
- observeSelections ( selection ) {
101
+ observeSelections = selection => {
102
102
const selectionSubs = new CompositeDisposable (
103
103
selection . onDidChangeRange ( this . props . didChangeSelectionRange ) ,
104
104
selection . onDidDestroy ( ( ) => {
You can’t perform that action at this time.
0 commit comments