##// END OF EJS Templates
Added widget output area
Jonathan Frederic -
Show More
@@ -132,8 +132,14 b' var IPython = (function (IPython) {'
132 $(this.code_mirror.getInputField()).attr("spellcheck", "false");
132 $(this.code_mirror.getInputField()).attr("spellcheck", "false");
133 inner_cell.append(input_area);
133 inner_cell.append(input_area);
134 input.append(prompt).append(inner_cell);
134 input.append(prompt).append(inner_cell);
135
136 var widget_area = $('<div/>').addClass('widget_area');
137 var widget_prompt = $('<div/>').addClass('prompt');
138 var widget_subarea = $('<div/>').addClass('widget_subarea');
139 widget_area.append(widget_prompt).append(widget_subarea);
140
135 var output = $('<div></div>');
141 var output = $('<div></div>');
136 cell.append(input).append(output);
142 cell.append(input).append(widget_area).append(output);
137 this.element = cell;
143 this.element = cell;
138 this.output_area = new IPython.OutputArea(output, true);
144 this.output_area = new IPython.OutputArea(output, true);
139 this.completer = new IPython.Completer(this);
145 this.completer = new IPython.Completer(this);
General Comments 0
You need to be logged in to leave comments. Login now