Build construction viewer module

This commit is contained in:
Aaron Fenyes 2024-06-26 00:41:21 -07:00
parent 665cb30ce0
commit a3b1f4920c
2 changed files with 124 additions and 1 deletions

View file

@ -3,7 +3,7 @@ using Colors
# === utilities ===
append_to_head!(w, type, content) = @js win begin
append_to_head!(w, type, content) = @js w begin
@var element = document.createElement($type)
element.appendChild(document.createTextNode($content))
document.head.appendChild(element)