Skip to content

Commit

Permalink
Document.
Browse files Browse the repository at this point in the history
  • Loading branch information
01mf02 committed Mar 14, 2024
1 parent 5a74f5a commit ba06c19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions koweb/js/kocheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ import init, {

import { add_error } from "./export.js";

// result of loading a Makefile
let program_list = [];

function remove_all_outputs_dom() {
document.querySelectorAll(".prompt").forEach((e) => e.remove());
document.querySelectorAll(".prompt").forEach(e => e.remove())
}

function remove_all_errors_dom() {
document.querySelectorAll(".error").forEach((e) => e.remove());
document.querySelectorAll(".error").forEach(e => e.remove())
}

function check_fetch(response) {
Expand Down

0 comments on commit ba06c19

Please sign in to comment.