##// END OF EJS Templates
discard invalid stream output...
Min RK -
Show More
@@ -465,6 +465,10 b' define(['
465
465
466 OutputArea.prototype.append_stream = function (json) {
466 OutputArea.prototype.append_stream = function (json) {
467 var text = json.text;
467 var text = json.text;
468 if (typeof text !== 'string') {
469 console.error("Stream output is invalid (missing text)", json);
470 return false;
471 }
468 var subclass = "output_"+json.name;
472 var subclass = "output_"+json.name;
469 if (this.outputs.length > 0){
473 if (this.outputs.length > 0){
470 // have at least one output to consider
474 // have at least one output to consider
General Comments 0
You need to be logged in to leave comments. Login now