MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / reset

Function reset

static/js/learnpython.js:302–306  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

300}
301
302function reset() {
303 maximizeDock();
304 $("#run-button").prop("disabled", false);
305 editor.setValue(originalCode);
306}
307
308function toggleMinimize() {
309 var dock = document.querySelector("footer#dock");

Callers

nothing calls this directly

Calls 2

maximizeDockFunction · 0.85
setValueMethod · 0.80

Tested by

no test coverage detected