(paragraph: HTMLParagraphElement)
| 9 | import observe from '../helpers/selector-observer.js'; |
| 10 | |
| 11 | function linkifyIssue(paragraph: HTMLParagraphElement): void { |
| 12 | // Already linkified |
| 13 | if (elementExists('a', paragraph)) { |
| 14 | logError(new Error(`${paragraph.textContent} is already linkified`)); |
| 15 | } |
| 16 | |
| 17 | linkifyIssues(getRepo()!, paragraph); |
| 18 | } |
| 19 | |
| 20 | function init(signal: AbortSignal): void { |
| 21 | observe( |
nothing calls this directly
no test coverage detected