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' ;
1010
1111Then
1212``` js
13- const mincut = require ( ' @aureooms/js-mincut' ) ;
13+ const { mincut } = require ( ' @aureooms/js-mincut' ) ;
1414// or
15- import * as mincut from ' @aureooms/js-mincut' ;
15+ import { mincut } from ' @aureooms/js-mincut' ;
1616```
Original file line number Diff line number Diff line change @@ -2,6 +2,4 @@ import adj from './adj.js';
22import maxback from './maxback/index.js' ;
33import mincut from './mincut.js' ;
44
5- export default mincut ;
6-
75export { adj , maxback , mincut } ;
Original file line number Diff line number Diff line change 11import test from 'ava' ;
22import { map , sorted } from '@aureooms/js-itertools' ;
33import { increasing , fixedlexicographical } from '@aureooms/js-compare' ;
4- import mincut from '../../src/index.js' ;
4+ import { mincut } from '../../src/index.js' ;
55
66function order ( edge ) {
77 return sorted ( increasing , edge ) ;
You can’t perform that action at this time.
0 commit comments