Show More
@@ -46,7 +46,7 b' var IPython = (function (IPython) {' | |||||
46 | var output = $('<div></div>'); |
|
46 | var output = $('<div></div>'); | |
47 | cell.append(input).append(output); |
|
47 | cell.append(input).append(output); | |
48 | this.element = cell; |
|
48 | this.element = cell; | |
49 |
|
|
49 | this.output_area = new IPython.OutputArea(output, true); | |
50 |
|
50 | |||
51 | // construct a completer only if class exist |
|
51 | // construct a completer only if class exist | |
52 | // otherwise no print view |
|
52 | // otherwise no print view | |
@@ -192,17 +192,17 b' var IPython = (function (IPython) {' | |||||
192 |
|
192 | |||
193 |
|
193 | |||
194 | CodeCell.prototype.collapse = function () { |
|
194 | CodeCell.prototype.collapse = function () { | |
195 |
|
|
195 | this.output_area.collapse(); | |
196 | }; |
|
196 | }; | |
197 |
|
197 | |||
198 |
|
198 | |||
199 | CodeCell.prototype.expand = function () { |
|
199 | CodeCell.prototype.expand = function () { | |
200 |
|
|
200 | this.output_area.expand(); | |
201 | }; |
|
201 | }; | |
202 |
|
202 | |||
203 |
|
203 | |||
204 | CodeCell.prototype.toggle_output = function () { |
|
204 | CodeCell.prototype.toggle_output = function () { | |
205 |
|
|
205 | this.output_area.toggle_output(); | |
206 | }; |
|
206 | }; | |
207 |
|
207 | |||
208 |
|
208 |
General Comments 0
You need to be logged in to leave comments.
Login now