Show More
@@ -509,6 +509,7 b' var IPython = (function (IPython) {' | |||||
509 |
|
509 | |||
510 | OutputArea.prototype.append_html = function (html, md, element) { |
|
510 | OutputArea.prototype.append_html = function (html, md, element) { | |
511 | var toinsert = this.create_output_subarea(md, "output_html rendered_html"); |
|
511 | var toinsert = this.create_output_subarea(md, "output_html rendered_html"); | |
|
512 | IPython.keyboard_manager.register_events(toinsert); | |||
512 | toinsert.append(html); |
|
513 | toinsert.append(html); | |
513 | element.append(toinsert); |
|
514 | element.append(toinsert); | |
514 | }; |
|
515 | }; | |
@@ -517,6 +518,7 b' var IPython = (function (IPython) {' | |||||
517 | OutputArea.prototype.append_javascript = function (js, md, container) { |
|
518 | OutputArea.prototype.append_javascript = function (js, md, container) { | |
518 | // We just eval the JS code, element appears in the local scope. |
|
519 | // We just eval the JS code, element appears in the local scope. | |
519 | var element = this.create_output_subarea(md, "output_javascript"); |
|
520 | var element = this.create_output_subarea(md, "output_javascript"); | |
|
521 | IPython.keyboard_manager.register_events(element); | |||
520 | container.append(element); |
|
522 | container.append(element); | |
521 | try { |
|
523 | try { | |
522 | eval(js); |
|
524 | eval(js); |
General Comments 0
You need to be logged in to leave comments.
Login now