File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import 'regenerator-runtime/runtime.js' ;
10
10
11
11
Then
12
12
``` js
13
- const mincut = require ( ' @aureooms/js-mincut' ) ;
13
+ const { mincut } = require ( ' @aureooms/js-mincut' ) ;
14
14
// or
15
- import * as mincut from ' @aureooms/js-mincut' ;
15
+ import { mincut } from ' @aureooms/js-mincut' ;
16
16
```
Original file line number Diff line number Diff line change @@ -2,6 +2,4 @@ import adj from './adj.js';
2
2
import maxback from './maxback/index.js' ;
3
3
import mincut from './mincut.js' ;
4
4
5
- export default mincut ;
6
-
7
5
export { adj , maxback , mincut } ;
Original file line number Diff line number Diff line change 1
1
import test from 'ava' ;
2
2
import { map , sorted } from '@aureooms/js-itertools' ;
3
3
import { increasing , fixedlexicographical } from '@aureooms/js-compare' ;
4
- import mincut from '../../src/index.js' ;
4
+ import { mincut } from '../../src/index.js' ;
5
5
6
6
function order ( edge ) {
7
7
return sorted ( increasing , edge ) ;
You can’t perform that action at this time.
0 commit comments