Skip to content

Commit 30d064b

Browse files
committed
Fixes and enhancements
- Row: Row SVG groups are now positioned relatively to their Row's base/resize line. Added some documentation - Word/WordTag: Fixed positioning to be relative to Row's baseline. Fixed alignment issues. Removed extraneous padding/spacing. Added some documentation. - Brat parser: Fixed issue with empty tokens being added as Words. - Config: Added more configuration options. - Build: Fixed bug in `runfile.js` (watch task previously failed to detect changes to core TAG styles) - Broke compatibility with original TAG `main.js` somewhere around here or the previous commit (probably with the introduction of the per-instance Config object)
1 parent bbbc1fb commit 30d064b

16 files changed

Lines changed: 2966 additions & 845 deletions

File tree

demo/data/simple-brat.ann

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Word VeryLongWord
2+
T1 Tag 0 4 Word
3+
T2 LongLongLongTag 5 17 VeryLongWord

demo/demo.min.js

Lines changed: 360 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/src/demo.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ $(async () => {
6060
format: "json"
6161
});
6262

63+
// Debug
64+
window.basicTag = basicTag;
65+
// await basicTag.loadUrlAsync("data/simple-brat.ann", "brat");
66+
return;
67+
6368
// -------------------
6469
// Advanced/UI example
6570
// -------------------

0 commit comments

Comments
 (0)