From e73c5689d3e95b8530c0ad628244a6c5b9c5ac17 2014-03-20 23:10:59 From: Jonathan Frederic Date: 2014-03-20 23:10:59 Subject: [PATCH] s/_is_cell_on/is_cell_on --- diff --git a/IPython/html/tests/notebook/dualmode.js b/IPython/html/tests/notebook/dualmode.js index e82c9c2..58e320f 100644 --- a/IPython/html/tests/notebook/dualmode.js +++ b/IPython/html/tests/notebook/dualmode.js @@ -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) {