Show More
@@ -525,7 +525,6 b' var IPython = (function (IPython) {' | |||||
525 | * @param [cell] {Cell} Cell to enter command mode on. |
|
525 | * @param [cell] {Cell} Cell to enter command mode on. | |
526 | **/ |
|
526 | **/ | |
527 | Notebook.prototype.handle_command_mode = function (cell) { |
|
527 | Notebook.prototype.handle_command_mode = function (cell) { | |
528 | if (cell === null) { return; } // TODO: do I really need this? |
|
|||
529 | if (this.mode !== 'command') { |
|
528 | if (this.mode !== 'command') { | |
530 | cell.command_mode(); // TODO: is this OK here? |
|
529 | cell.command_mode(); // TODO: is this OK here? | |
531 | this.mode = 'command'; |
|
530 | this.mode = 'command'; | |
@@ -556,7 +555,6 b' var IPython = (function (IPython) {' | |||||
556 | * @param [cell] {Cell} Cell to enter edit mode on. |
|
555 | * @param [cell] {Cell} Cell to enter edit mode on. | |
557 | **/ |
|
556 | **/ | |
558 | Notebook.prototype.handle_edit_mode = function (cell) { |
|
557 | Notebook.prototype.handle_edit_mode = function (cell) { | |
559 | if (cell === null) { return; } // TODO: do I really need this? |
|
|||
560 | if (this.mode !== 'edit') { |
|
558 | if (this.mode !== 'edit') { | |
561 | cell.edit_mode(); |
|
559 | cell.edit_mode(); | |
562 | this.mode = 'edit'; |
|
560 | this.mode = 'edit'; |
General Comments 0
You need to be logged in to leave comments.
Login now