##// END OF EJS Templates
Fixme comment + whatsnew
Matthias BUSSONNIER -
Show More
@@ -0,0 +1,3 b''
1 * calling `container.show()` on javascript display is deprecated and will
2 trigger errors on future IPython notebook versions. `container` now show
3 itself as soon as non-empty
@@ -558,9 +558,11 b' var IPython = (function (IPython) {'
558 558 var toinsert = this.create_output_subarea(md, "output_javascript", type);
559 559 IPython.keyboard_manager.register_events(toinsert);
560 560 element.append(toinsert);
561 // FIXME TODO : remove `container element for 3.0`
561 562 //backward compat, js should be eval'ed in a context where `container` is defined.
562 563 var container = element;
563 564 container.show = function(){console.log('Warning "container.show()" is deprecated.')};
565 // end backward compat
564 566 try {
565 567 eval(js);
566 568 } catch(err) {
General Comments 0
You need to be logged in to leave comments. Login now