Skip to content

Commit

Permalink
Some fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamidev committed Mar 3, 2024
1 parent 1e1dd88 commit cdca4bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/northern-lights.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
__ + * `' `'|. `:
"' `---"""----....____,..^---`^``----.,.___ `. `. . ____,.,-
___,--'""`---"' ^ ^ ^ ^ """'---,..___ __,..---""'
--"' ^ ``--..,__ D. Rice"
--"' ^ ``--..,__ D. Rice
1 change: 1 addition & 0 deletions examples/preview-art.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cat examples/northern-lights.txt
5 changes: 4 additions & 1 deletion examples/resources/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ function onExecutionEnded() {
}

function onOutputReceived( output ) {
$('body').append( output )
let span = document.createElement("span")
span.innerText = output

document.body.appendChild( span )
}

function onErrorOutputReceived( output ) {
Expand Down

0 comments on commit cdca4bd

Please sign in to comment.