(cb = noop, $resetEvents = this.$resetEvents.bind(this))
| 183 | } |
| 184 | |
| 185 | $fetch(cb = noop, $resetEvents = this.$resetEvents.bind(this)) { |
| 186 | const done = () => { |
| 187 | this.callHook('doneEach'); |
| 188 | cb(); |
| 189 | }; |
| 190 | |
| 191 | const onlyCover = this._fetchCover(); |
| 192 | |
| 193 | if (onlyCover) { |
| 194 | done(); |
| 195 | } else { |
| 196 | this._fetch(() => { |
| 197 | $resetEvents(); |
| 198 | done(); |
| 199 | }); |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | _fetchFallbackPage(path, qs, cb = noop) { |
| 204 | const { requestHeaders, fallbackLanguages, loadSidebar } = this.config; |
no test coverage detected