Remove renderWebsocketOutput and use printWebsocketOutput instead

* The `render` command is not used much
* Originally added with commit 898074be3f
* The `#render` anchor (see findOrCreateRenderElement) was the "Render" button above the editor, nothing was rendered at all if executing code and otherwise it would be included _within_ the button.
This commit is contained in:
Sebastian Serth
2022-09-04 23:12:46 +02:00
parent 813c3f50af
commit dccc60b7ca
3 changed files with 1 additions and 16 deletions

View File

@ -174,11 +174,6 @@ CodeOceanEditorEvaluation = {
/**
* Output-Logic
*/
renderWebsocketOutput: function (msg) {
var element = this.findOrCreateRenderElement(0);
element.append(msg.data);
},
printWebsocketOutput: function (msg) {
if (!msg.data || msg.data === "\r") {
return;