From 472f166b043c4fdec962d16eb620bde789f50647 2014-03-20 23:10:59 From: Jonathan Frederic Date: 2014-03-20 23:10:59 Subject: [PATCH] s/_is_cell_editor_focused/is_cell_editor_focused --- diff --git a/IPython/html/tests/notebook/dualmode.js b/IPython/html/tests/notebook/dualmode.js index 74b3b2d..e82c9c2 100644 --- a/IPython/html/tests/notebook/dualmode.js +++ b/IPython/html/tests/notebook/dualmode.js @@ -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 *'); };