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 1
1
{
2
2
"name" : " react-nlp-annotate" ,
3
- "version" : " 0.3.13 " ,
3
+ "version" : " 0.3.14 " ,
4
4
"homepage" : " https://universaldatatool.github.io/react-nlp-annotate/" ,
5
5
"main" : " ./dist/lib.js" ,
6
6
"dependencies" : {
17
17
"scripts" : {
18
18
"build" : " rimraf dist && npm run build:babel" ,
19
19
"build:babel" : " NODE_ENV=production babel ./src --out-dir=./dist" ,
20
- "release" : " npm run build && cd dist && npm publish" ,
21
20
"storybook" : " start-storybook -p 9050 -s public" ,
22
21
"demosite" : " react-scripts start" ,
23
22
"build-storybook" : " build-storybook -s public" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const mergeSequence = (
6
6
const newSeq = [ ]
7
7
let current = [ seq [ 0 ] ]
8
8
for ( let i = 1 ; i < seq . length ; i ++ ) {
9
- if ( current [ 0 ] . label === seq [ i ] . label ) {
9
+ if ( ! current [ 0 ] . label && ! seq [ i ] . label ) {
10
10
current . push ( seq [ i ] )
11
11
} else {
12
12
newSeq . push ( {
You can’t perform that action at this time.
0 commit comments