()
| 289 | } |
| 290 | |
| 291 | function showSolution() { |
| 292 | maximizeDock(); |
| 293 | var solutionText = tutorialData.solution; |
| 294 | if (solutionText) { |
| 295 | editor.setValue(solutionText); |
| 296 | } else { |
| 297 | editor.setValue("There is currently no solution to this exercise.\nPlease contribute your solution on GitHub.\n\nhttp://github.com/ronreiter/interactive-tutorials"); |
| 298 | $("#run-button").prop("disabled", true); |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | function reset() { |
| 303 | maximizeDock(); |
nothing calls this directly
no test coverage detected