You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2019/06/30 16:45:19 UTC
[incubator-annotator] 02/03: Fix Range.END_TO_END constant
This is an automated email from the ASF dual-hosted git repository.
randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git
commit 90fb586e4fa1177cc3da9b68f6d4c5aedcea86b4
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sun Jun 23 14:10:57 2019 -0700
Fix Range.END_TO_END constant
---
packages/dom/src/text-quote.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/dom/src/text-quote.js b/packages/dom/src/text-quote.js
index e7d1391..7484f65 100644
--- a/packages/dom/src/text-quote.js
+++ b/packages/dom/src/text-quote.js
@@ -24,7 +24,7 @@ const SHOW_TEXT = 4;
// Range constants
const START_TO_START = 0;
-const END_TO_END = 1;
+const END_TO_END = 2;
function textContent(scope) {
return scope instanceof Object && 'textContent' in scope