Skip to content

Commit

Permalink
bugfix: setting separator to empty line breaks the app
Browse files Browse the repository at this point in the history
  • Loading branch information
tecoholic committed Feb 1, 2022
1 parent 49dec88 commit a48e440
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/ner-annotator/favicon.ico"><title>NER Annotator for SpaCy</title><link href="/ner-annotator/css/app.1f073c57.css" rel="preload" as="style"><link href="/ner-annotator/css/chunk-vendors.2752329b.css" rel="preload" as="style"><link href="/ner-annotator/js/app.d2554073.js" rel="preload" as="script"><link href="/ner-annotator/js/chunk-vendors.acab244f.js" rel="preload" as="script"><link href="/ner-annotator/css/chunk-vendors.2752329b.css" rel="stylesheet"><link href="/ner-annotator/css/app.1f073c57.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but ner-annotator doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/ner-annotator/js/chunk-vendors.acab244f.js"></script><script src="/ner-annotator/js/app.d2554073.js"></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/ner-annotator/favicon.ico"><title>NER Annotator for SpaCy</title><link href="/ner-annotator/css/app.1f073c57.css" rel="preload" as="style"><link href="/ner-annotator/css/chunk-vendors.2752329b.css" rel="preload" as="style"><link href="/ner-annotator/js/app.704735a2.js" rel="preload" as="script"><link href="/ner-annotator/js/chunk-vendors.acab244f.js" rel="preload" as="script"><link href="/ner-annotator/css/chunk-vendors.2752329b.css" rel="stylesheet"><link href="/ner-annotator/css/app.1f073c57.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but ner-annotator doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/ner-annotator/js/chunk-vendors.acab244f.js"></script><script src="/ner-annotator/js/app.704735a2.js"></script></body></html>
4 changes: 2 additions & 2 deletions docs/js/app.d2554073.js → docs/js/app.704735a2.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/js/app.704735a2.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/js/app.d2554073.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ner-annotator",
"version": "1.0.1",
"version": "1.0.2",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"package": {
"productName": "NER Annotator",
"version": "1.0.0"
"version": "1.0.2"
},
"build": {
"distDir": "Set automatically by Vue CLI plugin",
Expand Down
3 changes: 1 addition & 2 deletions src/components/AnnotationPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export default {
"annotations",
"currentClass",
"currentIndex",
"resetIndex",
]),
},
watch: {
Expand All @@ -86,7 +85,7 @@ export default {
document.removeEventListener("mouseup", this.selectTokens);
},
methods: {
...mapMutations(["nextSentence"]),
...mapMutations(["nextSentence", "resetIndex"]),
tokenizeCurrentSentence() {
if (this.currentIndex >= this.inputSentences.length) {
// TODO show completed message
Expand Down

0 comments on commit a48e440

Please sign in to comment.