()
| 194 | } |
| 195 | |
| 196 | afterInsert () { |
| 197 | super.afterInsert() |
| 198 | // scroll to the current hash, once everything in the browser is set up |
| 199 | const f = () => { |
| 200 | if (this.destroyed) { return } |
| 201 | const link = $(document.location.hash) |
| 202 | if (link.length) { |
| 203 | return this.scrollToLink(document.location.hash, 0) |
| 204 | } |
| 205 | } |
| 206 | return _.delay(f, 100) |
| 207 | } |
| 208 | |
| 209 | logoutAccount () { |
| 210 | Backbone.Mediator.publish('auth:logging-out', {}) |
nothing calls this directly
no outgoing calls
no test coverage detected