File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,19 @@ import {Editors} from './editors';
55import OscServer from './osc-server' ;
66
77export function oscEvalSubscriber ( tidalRepl : Repl , editors : Editors ) {
8- return ( args : { } ) : void => {
9- const message = OscServer . asDictionary ( args ) ;
8+ return ( args : { } ) : void => {
9+ const message = OscServer . asDictionary ( args ) ;
1010
11- if ( message [ 'tab' ] !== undefined ) {
12- atom . workspace . getPanes ( ) [ 0 ] . setActiveItem ( atom . workspace . getTextEditors ( ) [ message [ 'tab' ] ] )
13- }
11+ if ( message [ 'tab' ] !== undefined ) {
12+ atom . workspace . getPanes ( ) [ 0 ] . setActiveItem ( atom . workspace . getTextEditors ( ) [ message [ 'tab' ] ] )
13+ }
1414
15- if ( message [ 'row' ] && message [ 'column' ] ) {
16- editors . goTo ( message [ 'row' ] - 1 , message [ 'column' ] )
17- }
15+ if ( message [ 'row' ] && message [ 'column' ] ) {
16+ editors . goTo ( message [ 'row' ] - 1 , message [ 'column' ] )
17+ }
1818
19- if ( message [ 'type' ] ) {
20- tidalRepl . eval ( message [ 'type' ] , false ) ;
21- }
19+ if ( message [ 'type' ] ) {
20+ tidalRepl . eval ( message [ 'type' ] , false ) ;
2221 }
22+ }
2323}
You can’t perform that action at this time.
0 commit comments