()
| 61 | } |
| 62 | |
| 63 | afterRender () { |
| 64 | super.afterRender(...arguments) |
| 65 | this.$('#fixed-nav').affix({ |
| 66 | offset: { |
| 67 | top () { |
| 68 | return $('#nav-container').offset().top |
| 69 | } |
| 70 | } |
| 71 | }) |
| 72 | // TODO: Maybe cache top value between page resizes to save CPU |
| 73 | $('body').scrollspy({ |
| 74 | target: '#nav-container', |
| 75 | offset: 150 |
| 76 | }) |
| 77 | this.$('#screenshot-lightbox').modal() |
| 78 | |
| 79 | return this.$('#screenshot-carousel').carousel({ |
| 80 | interval: 0, |
| 81 | keyboard: false |
| 82 | }) |
| 83 | } |
| 84 | |
| 85 | afterInsert () { |
| 86 | super.afterInsert() |
nothing calls this directly
no outgoing calls
no test coverage detected