Show More
@@ -239,12 +239,14 b' var IPython = (function (IPython) {' | |||||
239 | json.text = content.data; |
|
239 | json.text = content.data; | |
240 | json.stream = content.name; |
|
240 | json.stream = content.name; | |
241 | } else if (msg_type === "display_data") { |
|
241 | } else if (msg_type === "display_data") { | |
242 |
json = |
|
242 | json = content.data | |
243 | json.metadata = this.convert_mime_types({}, content.metadata); |
|
243 | json.output_type = msg_type | |
|
244 | json.metadata = content.metadata | |||
244 | } else if (msg_type === "pyout") { |
|
245 | } else if (msg_type === "pyout") { | |
|
246 | json = content.data | |||
|
247 | json.output_type = msg_type | |||
|
248 | json.metadata = content.metadata | |||
245 | json.prompt_number = content.execution_count; |
|
249 | json.prompt_number = content.execution_count; | |
246 | json = this.convert_mime_types(json, content.data); |
|
|||
247 | json.metadata = this.convert_mime_types({}, content.metadata); |
|
|||
248 | } else if (msg_type === "pyerr") { |
|
250 | } else if (msg_type === "pyerr") { | |
249 | json.ename = content.ename; |
|
251 | json.ename = content.ename; | |
250 | json.evalue = content.evalue; |
|
252 | json.evalue = content.evalue; |
General Comments 0
You need to be logged in to leave comments.
Login now