(node)
| 35 | calcSignatureHeight() { |
| 36 | const treeWalker = document.createTreeWalker(this.pgpElement, NodeFilter.SHOW_TEXT, { |
| 37 | acceptNode(node) { |
| 38 | if (PGP_SIG_HEADER.test(node.textContent)) { |
| 39 | return NodeFilter.FILTER_ACCEPT; |
| 40 | } |
| 41 | return NodeFilter.FILTER_REJECT; |
| 42 | } |
| 43 | }, false); |
| 44 | const pgpSigBegin = treeWalker.nextNode(); |
| 45 | this.pgpSigRange = pgpSigBegin.ownerDocument.createRange(); |
nothing calls this directly
no outgoing calls
no test coverage detected