Show More
@@ -15,7 +15,7 b' var IPython = (function (IPython) {' | |||||
15 |
|
15 | |||
16 | var CodeCell = function (notebook) { |
|
16 | var CodeCell = function (notebook) { | |
17 | this.code_mirror = null; |
|
17 | this.code_mirror = null; | |
18 |
this.input_prompt_number = ' |
|
18 | this.input_prompt_number = ' '; | |
19 | this.is_completing = false; |
|
19 | this.is_completing = false; | |
20 | this.completion_cursor = null; |
|
20 | this.completion_cursor = null; | |
21 | this.outputs = []; |
|
21 | this.outputs = []; | |
@@ -588,7 +588,7 b' var IPython = (function (IPython) {' | |||||
588 | }; |
|
588 | }; | |
589 |
|
589 | |||
590 | CodeCell.prototype.set_input_prompt = function (number) { |
|
590 | CodeCell.prototype.set_input_prompt = function (number) { | |
591 |
var n = number || ' |
|
591 | var n = number || ' '; | |
592 | this.input_prompt_number = n |
|
592 | this.input_prompt_number = n | |
593 | this.element.find('div.input_prompt').html('In [' + n + ']:'); |
|
593 | this.element.find('div.input_prompt').html('In [' + n + ']:'); | |
594 | }; |
|
594 | }; |
General Comments 0
You need to be logged in to leave comments.
Login now