remove backward compat `container` in output area as planed.

pull/37/head
Matthias BUSSONNIER 12 years ago
parent a942db896c
commit db5b58360e

@ -569,11 +569,6 @@ var IPython = (function (IPython) {
var toinsert = this.create_output_subarea(md, "output_javascript", type);
IPython.keyboard_manager.register_events(toinsert);
element.append(toinsert);
// FIXME TODO : remove `container element for 3.0`
//backward compat, js should be eval'ed in a context where `container` is defined.
var container = element;
container.show = function(){console.log('Warning "container.show()" is deprecated.')};
// end backward compat
// Fix for ipython/issues/5293, make sure `element` is the area which
// output can be inserted into at the time of JS execution.

Loading…
Cancel
Save