Merge pull request #4979 from minrk/clear-output-msgspec

add versioning notes to small message spec changes
This commit is contained in:
Thomas Kluyver 2014-02-03 12:19:07 -08:00
commit 91054043c0

View File

@ -743,7 +743,12 @@ var IPython = (function (IPython) {
OutputArea.prototype.handle_clear_output = function (msg) {
this.clear_output(msg.content.wait);
// msg spec v4 had stdout, stderr, display keys
// v4.1 replaced these with just wait
// The default behavior is the same (stdout=stderr=display=True, wait=False),
// so v4 messages will still be properly handled,
// except for the rarely used clearing less than all output.
this.clear_output(msg.content.wait || false);
};