mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Merge pull request #4979 from minrk/clear-output-msgspec
add versioning notes to small message spec changes
This commit is contained in:
commit
91054043c0
@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user