• Kyle Keating's avatar
    Add nodeFromXPath to range-js and refactor tests · 1cc4e1ca
    Kyle Keating authored
    - Refactor `range-js-test` and remove specific testing of internal functions such as `findChild` and `nodeFromXPathFallback`.
    
    - `nodeFromXPath` ported code does not contain any code path for XML handling as the coffeescript previously did. This code was however previously untested and difficult to reproduce in practice. It was likely was never or rarely used and is over 6 years old.
    1cc4e1ca
Name
Last commit
Last update
..
test Loading commit data...
html.coffee Loading commit data...
pdf.js Loading commit data...
range-js.js Loading commit data...
range.coffee Loading commit data...
text-position.js Loading commit data...
types.coffee Loading commit data...
util.coffee Loading commit data...
xpath-util.js Loading commit data...
xpath.coffee Loading commit data...