Commit d5defc83 authored by Robert Knight's avatar Robert Knight

Convert free-form comment to `@throws` note

parent ea7f5930
......@@ -570,10 +570,9 @@ export async function anchor(root, selectors) {
/**
* Prepare a DOM range for generating selectors and find the containing text layer.
*
* Throws if the range cannot be annotated.
*
* @param {Range} range
* @return {[Range, Element]}
* @throws If the range cannot be annotated
*/
function getTextLayerForRange(range) {
// "Shrink" the range so that the start and endpoints are at offsets within
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment