Skip to content

Commit a9eb9bf

Browse files
Removed excessive comment for quote
1 parent 8acacda commit a9eb9bf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/text-annotator/src/SelectionHandler.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ import type { TextSelector, TextAnnotationTarget, TextSelectorQuote } from './mo
55
import { trimRange } from './utils';
66

77
const rangeToQuote = (range: Range): TextSelectorQuote => {
8-
/**
9-
* Captures the prefix and suffix snippets of the selection to match the `Text Quote Selector` spec
10-
* @see https://www.w3.org/TR/annotation-model/#text-quote-selector
11-
*/
128
const snippetLength = 10;
139

1410
const rangePrefix = document.createRange();

0 commit comments

Comments
 (0)