(signal: AbortSignal)
| 105 | } |
| 106 | |
| 107 | async function init(signal: AbortSignal): Promise<void> { |
| 108 | observe(repoUnderlineNavUl, addReleasesTab, {signal}); |
| 109 | observe(repoUnderlineNavDropdownUl, addReleasesDropdownItem, {signal}); |
| 110 | observe(['[data-menu-item="i0code-tab"] a', 'a#code-tab'], detachHighlightFromCodeTab, {signal}); |
| 111 | // Workaround for https://github.com/refined-github/refined-github/issues/8867 |
| 112 | registerHotkey('g r', buildRepoUrl('releases'), {signal}); |
| 113 | } |
| 114 | |
| 115 | void features.add(import.meta.url, { |
| 116 | shortcuts: { |
nothing calls this directly
no test coverage detected