s/_is_cell_editor_focused/is_cell_editor_focused

This commit is contained in:
Jonathan Frederic 2014-03-10 12:27:49 -07:00
parent 45bbcc949e
commit 6a834223da

View File

@ -121,9 +121,9 @@ casper.notebook_test(function () {
var cell = this._get_cell(i);
if (cell) {
if (cell.mode == 'edit') {
return this._is_cell_editor_focused(i);
return this.is_cell_editor_focused(i);
} else {
return !this._is_cell_editor_focused(i);
return !this.is_cell_editor_focused(i);
}
}
return true;
@ -161,7 +161,7 @@ casper.notebook_test(function () {
}, {k: key});
};
this._is_cell_editor_focused = function(i) {
this.is_cell_editor_focused = function(i) {
return this._is_cell_inputfield(i, '.CodeMirror-focused *');
};