(slug)
| 12 | } |
| 13 | |
| 14 | function writeSlugToUrl(slug) { |
| 15 | const url = new URL(window.location.href); |
| 16 | url.searchParams.set(PARAM_NAME, slug); |
| 17 | history.replaceState(null, '', url.toString()); |
| 18 | } |
| 19 | |
| 20 | function activateByName(name) { |
| 21 | const tab = document.querySelector( |
no outgoing calls
no test coverage detected
searching dependent graphs…