From e119421b4268c130ff579c43af3a3f9d626677c9 Mon Sep 17 00:00:00 2001
From: Paul Pestov <10750176+paulpestov@users.noreply.github.com>
Date: Thu, 23 Mar 2023 22:08:19 +0100
Subject: [PATCH] fix: update set highlighting and loading order
---
.eslintignore | 1 +
.eslintrc.js | 1 +
examples/ahiqar-arabic-karshuni.html | 2 +-
index.html | 142 ++++++++++++++++++++++++++-
src/css/_global.scss | 37 -------
src/store/annotations/actions.js | 79 +++++++++++++--
src/utils/annotations.js | 82 ++++++++++------
src/utils/dom.js | 35 +++++++
8 files changed, 304 insertions(+), 75 deletions(-)
diff --git a/.eslintignore b/.eslintignore
index 9b1c8b13..6faf7fbb 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1 +1,2 @@
/dist
+/tests
diff --git a/.eslintrc.js b/.eslintrc.js
index 59a44a42..e0c3b65a 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -56,5 +56,6 @@ module.exports = {
// allow debugger during development only
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'max-len': 0,
+ 'allow-parens': 'as-needed',
},
};
diff --git a/examples/ahiqar-arabic-karshuni.html b/examples/ahiqar-arabic-karshuni.html
index d89930ab..698b6e40 100644
--- a/examples/ahiqar-arabic-karshuni.html
+++ b/examples/ahiqar-arabic-karshuni.html
@@ -29,7 +29,7 @@