(transition)
| 105 | let routerService = owner.lookup('service:router'); |
| 106 | |
| 107 | function handleHashIntent(transition) { |
| 108 | let { url } = transition.intent || {}; |
| 109 | |
| 110 | if (!url) { |
| 111 | return; |
| 112 | } |
| 113 | |
| 114 | eventuallyTryScrollingTo(owner, url); |
| 115 | } |
| 116 | |
| 117 | routerService.on('routeDidChange', handleHashIntent); |
| 118 |
nothing calls this directly
no test coverage detected