File tree Expand file tree Collapse file tree 1 file changed +18
-8
lines changed
Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Original file line number Diff line number Diff line change 22// TODO use underscore
33import { debounce } from 'underscore-plus' ;
44
5+ // TODO use babel to export ... from ...
6+ import * as paths from './misc/paths'
7+ import * as blocks from './misc/blocks'
8+ import * as cells from './misc/cells'
9+ import * as words from './misc/words'
10+ import * as weave from './misc/weave'
11+ import * as colors from './misc/colors'
12+ import * as scopes from './misc/scopes'
13+
514export default {
6- // TODO Fix all of these dynamic requires and circular dependencies
7- paths : require ( './misc/paths' ) ,
8- blocks : require ( './misc/blocks' ) ,
9- cells : require ( './misc/cells' ) ,
10- words : require ( './misc/words' ) ,
11- weave : require ( './misc/weave' ) ,
12- colors : require ( './misc/colors' ) ,
13- scopes : require ( './misc/scopes' ) ,
15+ // TODO remove these from the export default and export them directly (prevents expensive copy)
16+ // TODO don't use this.message use message directly (prevents expensive copy)
17+ paths : paths ,
18+ blocks : blocks ,
19+ cells : cells ,
20+ words : words ,
21+ weave : weave ,
22+ colors : colors ,
23+ scopes : scopes ,
1424
1525 bufferLines ( t , f ) {
1626 if ( ! f ) { [ t , f ] = [ null , t ] ; }
You can’t perform that action at this time.
0 commit comments