* Load current step's code into editor
()
| 158 | * Load current step's code into editor |
| 159 | */ |
| 160 | loadStepCode() { |
| 161 | const step = tutorialSteps[this.manager.getCurrentStep()]; |
| 162 | if (step && step.code) { |
| 163 | this.applyCode(step.code.trim()); |
| 164 | this.hide(); |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * Handle next button click |
no test coverage detected