Loading static/js/exercises.api.mjs +3 −0 Original line number Diff line number Diff line Loading @@ -293,6 +293,9 @@ export function test(name, exerciseCreationFunction) { this.exercises.push(exerciseObj) }, /** * Instruct the UI to not show the hand-in button for this test, ever */ disableHandIn() { this.handInEnabled = false } Loading Loading
static/js/exercises.api.mjs +3 −0 Original line number Diff line number Diff line Loading @@ -293,6 +293,9 @@ export function test(name, exerciseCreationFunction) { this.exercises.push(exerciseObj) }, /** * Instruct the UI to not show the hand-in button for this test, ever */ disableHandIn() { this.handInEnabled = false } Loading