This is an automated email from the ASF dual-hosted git repository.
gerben pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git.
from cf54a84 Remove forgotten .only in tests
add 7f9461d Make css matcher return an Element, not Range
add 9e11829 Make css matcher also accept a Node as scope
add f1068ff Make all functions also accept a Node as scope
add 0f8f897 Rename range-node-conversion.ts → to-range.ts
new c28d5d3 Merge branch 'allow-node-as-scope' (PR #110)
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:
packages/dom/src/css.ts | 17 +++++------
packages/dom/src/owner-document.ts | 17 +++++++++--
packages/dom/src/range/match.ts | 35 ++++++++++++----------
packages/dom/src/text-node-chunker.ts | 11 ++++---
packages/dom/src/text-position/describe.ts | 25 ++++++----------
packages/dom/src/text-position/match.ts | 17 ++++-------
packages/dom/src/text-quote/describe.ts | 24 +++++----------
packages/dom/src/text-quote/match.ts | 15 ++++------
.../src/dom.ts => dom/src/to-range.ts} | 30 ++++++++++++-------
packages/dom/test/css/match.test.ts | 5 +---
10 files changed, 95 insertions(+), 101 deletions(-)
copy packages/{apache-annotator/src/dom.ts => dom/src/to-range.ts} (54%)