(state: PaneState & ExecutorState)
| 175 | } |
| 176 | |
| 177 | private async postInit(state: PaneState & ExecutorState) { |
| 178 | await this.initLangAndCompiler(state); |
| 179 | |
| 180 | this.compilerPicker = new CompilerPicker( |
| 181 | this.domRoot, |
| 182 | this.hub, |
| 183 | this.currentLangId, |
| 184 | this.compiler ? this.compiler.id : '', |
| 185 | this.onCompilerChange.bind(this), |
| 186 | this.compilerIsVisible, |
| 187 | ); |
| 188 | |
| 189 | await this.initLibraries(state); |
| 190 | this.updateCompilerInfo(); |
| 191 | this.updateState(); |
| 192 | |
| 193 | if (this.sourceTreeId) { |
| 194 | this.compile(); |
| 195 | } |
| 196 | |
| 197 | if (!this.hub.deferred) { |
| 198 | this.eventHub.emit('executorOpen', this.id, this.sourceEditorId ?? false); |
| 199 | this.undefer(); |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | override initializeCompilerInfo(state: PaneState) { |
| 204 | this.compilerInfo = { |
no test coverage detected