()
| 734 | }; |
| 735 | |
| 736 | const createExecutor = () => { |
| 737 | const currentState = this.getCurrentState(); |
| 738 | const editorId = currentState.source; |
| 739 | const treeId = currentState.tree; |
| 740 | const langId = currentState.lang; |
| 741 | const compilerId = currentState.compiler; |
| 742 | const libs = |
| 743 | this.libsWidget?.getLibsInUse().map(item => ({ |
| 744 | name: item.libId, |
| 745 | ver: item.versionId, |
| 746 | })) ?? []; |
| 747 | |
| 748 | return Components.getExecutorWith( |
| 749 | editorId ?? 0, |
| 750 | langId ?? '', |
| 751 | compilerId, |
| 752 | libs, |
| 753 | currentState.options, |
| 754 | treeId ?? 0, |
| 755 | currentState.overrides, |
| 756 | currentState.runtimeTools, |
| 757 | ); |
| 758 | }; |
| 759 | |
| 760 | const newPaneDropdown = this.domRoot.find('.new-pane-dropdown'); |
| 761 | const hidePaneAdder = () => { |
nothing calls this directly
no test coverage detected