(AppRouter)
| 14 | */ |
| 15 | |
| 16 | export function withHashSupport(AppRouter) { |
| 17 | return class RouterWithHashSupport extends AppRouter { |
| 18 | constructor(...args) { |
| 19 | super(...args); |
| 20 | |
| 21 | setupHashSupport(this); |
| 22 | } |
| 23 | }; |
| 24 | } |
| 25 | |
| 26 | export function scrollToHash(hash) { |
| 27 | let selector = `[name="${hash}"]`; |
nothing calls this directly
no outgoing calls
no test coverage detected