Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Brichau committed Jan 28, 2024
1 parent eb15cc9 commit 43de84f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ javascript
catchErrorHandlerFunction

^ (JSStream on: 'document.getElementById("result").style.backgroundColor = "Red"'),
(JSStream on: 'document.getElementById("result").innerHTML = "<p>Catch Error</p>"')
(JSStream on: 'document.getElementById("result").innerHTML = "<p>"+result.text()+"</p>"')
asFunction: #( 'result' )
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ javascript
errorHandlerFunction

^ (JSStream on: 'document.getElementById("result").style.backgroundColor = "Red"'),
(JSStream on: 'document.getElementById("result").innerHTML = "<p>Error</p>"')
(JSStream on: 'document.getElementById("result").innerHTML = "<p>Error:"+result.text()+"</p>"')
asFunction: #( 'result' )

0 comments on commit 43de84f

Please sign in to comment.