File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " react-nlp-annotate" ,
3- "version" : " 0.3.13 " ,
3+ "version" : " 0.3.14 " ,
44 "homepage" : " https://universaldatatool.github.io/react-nlp-annotate/" ,
55 "main" : " ./dist/lib.js" ,
66 "dependencies" : {
1717 "scripts" : {
1818 "build" : " rimraf dist && npm run build:babel" ,
1919 "build:babel" : " NODE_ENV=production babel ./src --out-dir=./dist" ,
20- "release" : " npm run build && cd dist && npm publish" ,
2120 "storybook" : " start-storybook -p 9050 -s public" ,
2221 "demosite" : " react-scripts start" ,
2322 "build-storybook" : " build-storybook -s public" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const mergeSequence = (
66 const newSeq = [ ]
77 let current = [ seq [ 0 ] ]
88 for ( let i = 1 ; i < seq . length ; i ++ ) {
9- if ( current [ 0 ] . label === seq [ i ] . label ) {
9+ if ( ! current [ 0 ] . label && ! seq [ i ] . label ) {
1010 current . push ( seq [ i ] )
1111 } else {
1212 newSeq . push ( {
You can’t perform that action at this time.
0 commit comments