()
| 384 | |
| 385 | // scroll to the current hash, once everything in the browser is set up |
| 386 | const f = () => { |
| 387 | if (this.destroyed) { return } |
| 388 | try { |
| 389 | const link = $(document.location.hash) |
| 390 | if (link.length) { |
| 391 | return this.scrollToLink(document.location.hash, 0) |
| 392 | } |
| 393 | } catch (e) { |
| 394 | return console.warn(e) // Possibly a hash that would not match a valid element |
| 395 | } |
| 396 | } |
| 397 | return _.delay(f, 100) |
| 398 | } |
| 399 |
nothing calls this directly
no outgoing calls
no test coverage detected