Skip to content

Commit 1393e3a

Browse files
authored
Add OscServer import for osc evaluation (#225)
1 parent ec975fb commit 1393e3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/osc-eval.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
import Repl from './repl';
44
import {Editors} from './editors';
5+
import OscServer from './osc-server';
56

67
export function oscEvalSubscriber(tidalRepl: Repl, editors: Editors) {
78
return (args: {}): void => {
89
const message = OscServer.asDictionary(args);
9-
10+
1011
if (message['tab'] !== undefined) {
1112
atom.workspace.getPanes()[0].setActiveItem(atom.workspace.getTextEditors()[message['tab']])
1213
}

0 commit comments

Comments
 (0)