File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 2
2
import { time } from './misc' ;
3
3
import externalTerminal from './connection/terminal' ;
4
4
5
+ // TODO use babel to export ... from ...
6
+ import IPC from './connection/ipc'
7
+ import messages from './connection/messages'
8
+ import client from './connection/client'
9
+ import local from './connection/local'
10
+ import terminal from './connection/terminal'
11
+
5
12
export default {
6
- // TODO Fix all of these dynamic requires and circular dependencies
7
- IPC : require ( './connection/ipc' ) ,
8
- messages : require ( './connection/messages' ) ,
9
- client : require ( './connection/client' ) ,
10
- local : require ( './connection/local' ) ,
11
- terminal : require ( './connection/terminal' ) ,
13
+ // TODO remove these from the export default and export them directly (prevents expensive copy)
14
+ // TODO don't use this.message use message directly (prevents expensive copy)
15
+ IPC : IPC ,
16
+ messages : messages ,
17
+ client : client ,
18
+ local : local ,
19
+ terminal : terminal ,
12
20
13
21
activate ( ) {
14
22
this . messages . activate ( ) ;
You can’t perform that action at this time.
0 commit comments