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/09 05:10:18 UTC

[incubator-annotator] branch master updated: Remove the selector from match results

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


The following commit(s) were added to refs/heads/master by this push:
     new da7c578  Remove the selector from match results
da7c578 is described below

commit da7c578d3030a2374a374707f3f2d86f6b745669
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sat Jun 8 22:09:57 2019 -0700

    Remove the selector from match results
---
 packages/text/src/index.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/packages/text/src/index.js b/packages/text/src/index.js
index 93e2825..ce0f671 100644
--- a/packages/text/src/index.js
+++ b/packages/text/src/index.js
@@ -25,7 +25,6 @@ export function createTextQuoteSelector(selector) {
       let result = [selector.exact];
       result.index = match + prefix.length;
       result.input = scope;
-      result.selector = selector;
       yield result;
       lastIndex = match + 1;
       match = next();