mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-11 12:30:51 +08:00
s/_is_cell_on/is_cell_on
This commit is contained in:
parent
6a834223da
commit
c43044d514
@ -130,11 +130,11 @@ casper.notebook_test(function () {
|
||||
};
|
||||
|
||||
this.is_cell_selected = function(i) {
|
||||
return this._is_cell_on(i, 'selected', 'unselected');
|
||||
return this.is_cell_on(i, 'selected', 'unselected');
|
||||
};
|
||||
|
||||
this.is_cell_edit = function(i) {
|
||||
return this._is_cell_on(i, 'edit_mode', 'command_mode');
|
||||
return this.is_cell_on(i, 'edit_mode', 'command_mode');
|
||||
};
|
||||
|
||||
this.click_cell = function(index) {
|
||||
@ -165,7 +165,7 @@ casper.notebook_test(function () {
|
||||
return this._is_cell_inputfield(i, '.CodeMirror-focused *');
|
||||
};
|
||||
|
||||
this._is_cell_on = function(i, on_class, off_class) {
|
||||
this.is_cell_on = function(i, on_class, off_class) {
|
||||
var cells = this._get_cells();
|
||||
for (var j = 0; j < cells.length; j++) {
|
||||
if (j === i) {
|
||||
|
Loading…
Reference in New Issue
Block a user