Merge pull request #3766 from StefanKarpinski/master

handle missing metadata in pyout messages more gracefully.
This commit is contained in:
Min RK 2013-07-24 21:38:16 -07:00
commit 4013b972a8

View File

@ -255,6 +255,9 @@ var IPython = (function (IPython) {
OutputArea.prototype.convert_mime_types = function (json, data) {
if (data === undefined) {
return json;
}
if (data['text/plain'] !== undefined) {
json.text = data['text/plain'];
}