This is an automated email from the ASF dual-hosted git repository.
randall pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git.
from 0121bd2 Turn off the @typescript-eslint/require-await lint rule
add decfe8c Restrict DOM scopes to be instances of Range
add f4adabd Reintroduce ownerDocument(), now in util.ts
add b118253 Remove the no-relative-parent-imports eslint rule.
add 983f005 Fix default scope in describeTextQuote
add e5f3d46 Fix some references to global `document`
add 14df40f Delete unused types.ts
add 1d8ca69 Rename util.ts→owner-document.ts
new 267bbcb Merge pull request #88 from apache/range-as-dom-scope
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.eslintrc.js | 1 -
packages/dom/src/css.ts | 19 +++++--
packages/dom/src/highlight-range.ts | 6 +--
.../{types/cartesian.d.ts => owner-document.ts} | 8 +--
packages/dom/src/range/match.ts | 17 +++---
packages/dom/src/scope.ts | 39 --------------
packages/dom/src/text-quote/describe.ts | 62 ++++++++++------------
packages/dom/src/text-quote/match.ts | 20 ++++---
packages/dom/src/types.ts | 25 ---------
.../test/highlight-range/highlight-range.test.ts | 2 +-
packages/dom/test/text-quote/describe.test.ts | 8 ++-
packages/dom/test/text-quote/match.test.ts | 35 +++++++++---
web/demo/index.js | 5 +-
13 files changed, 104 insertions(+), 143 deletions(-)
copy packages/dom/src/{types/cartesian.d.ts => owner-document.ts} (78%)
delete mode 100644 packages/dom/src/scope.ts
delete mode 100644 packages/dom/src/types.ts