• Robert Knight's avatar
    Handle case where `nodeFromXPath` returns a non-Element result · 275ea593
    Robert Knight authored
    Handle scenarios flagged by type checking where `nodeFromXPath` may
    return `null` or a non-Element node. Previously it could never return
    `null` but would throw an exception if the node was not found. In the
    new code a check is needed.
    
    The case where `nodeFromXPath` returned a non-Element node would never
    happen with XPaths generated by the client but could happen if an
    annotation was created via the API with a non-simple XPath.
    275ea593
Name
Last commit
Last update
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
.eslintrc Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...