(text, opt)
| 103 | |
| 104 | // create a handler that should be called if content was fetched successfully |
| 105 | const contentFetched = (text, opt) => { |
| 106 | this._renderMain( |
| 107 | text, |
| 108 | opt, |
| 109 | this._loadSideAndNav(path, qs, loadSidebar, cb) |
| 110 | ); |
| 111 | }; |
| 112 | |
| 113 | // and a handler that is called if content failed to fetch |
| 114 | const contentFailedToFetch = _ => { |
nothing calls this directly
no test coverage detected