Build construction viewer module
This commit is contained in:
parent
665cb30ce0
commit
a3b1f4920c
2 changed files with 124 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue