Implement client-side querying of stackoverflow

This commit is contained in:
Maximilian Grundke
2018-09-18 15:14:17 +02:00
parent b9054bbcba
commit b19402ba99
2 changed files with 78 additions and 20 deletions

View File

@@ -164,12 +164,10 @@ CodeOceanEditorEvaluation = {
} else if (output.stderr) {
element.addClass('text-warning').append(output.stderr);
//element.addClass('text-warning').text(element.text() + output.stderr);
this.flowrOutputBuffer += output.stderr;
this.QaApiOutputBuffer.stderr += output.stderr;
} else if (output.stdout) {
element.addClass('text-success').append(output.stdout);
//element.addClass('text-success').text(element.text() + output.stdout);
this.flowrOutputBuffer += output.stdout;
this.QaApiOutputBuffer.stdout += output.stdout;
} else {
element.addClass('text-muted').text($('#output').data('message-no-output'));