• Lyza Danger Gardner's avatar
    Add utility to trim text-content Ranges · aea38355
    Lyza Danger Gardner authored
    Remove any leading or trailing whitespace and/or nodes from the supplied
    Range. The resulting range starts exactly at the first non-whitespace
    character in the Range and ends exactly at the last non-whitespace
    character in the Range.
    
    `trimRange` assumes the provided Range starts and ends on a text node
    and will throw otherwise.
    aea38355
Name
Last commit
Last update
..
test Loading commit data...
html.js Loading commit data...
match-quote.js Loading commit data...
pdf.js Loading commit data...
placeholder.js Loading commit data...
text-range.ts Loading commit data...
trim-range.ts Loading commit data...
types.js Loading commit data...
xpath.js Loading commit data...