diff --git a/IPython/frontend/html/notebook/static/js/cell.js b/IPython/frontend/html/notebook/static/js/cell.js index 007b877..4dbb9e6 100644 --- a/IPython/frontend/html/notebook/static/js/cell.js +++ b/IPython/frontend/html/notebook/static/js/cell.js @@ -28,13 +28,13 @@ var IPython = (function (IPython) { this.bind_events(); } this.cell_id = utils.uuid(); - }; // Subclasses must implement create_element. Cell.prototype.create_element = function () {}; + Cell.prototype.bind_events = function () { var that = this; // We trigger events so that Cell doesn't have to depend on Notebook. diff --git a/IPython/frontend/html/notebook/static/js/codecell.js b/IPython/frontend/html/notebook/static/js/codecell.js index 1c685fd..4bcd7dc 100644 --- a/IPython/frontend/html/notebook/static/js/codecell.js +++ b/IPython/frontend/html/notebook/static/js/codecell.js @@ -29,8 +29,8 @@ var IPython = (function (IPython) { var that = this; this.element.focusout( - function() { that.auto_highlight(); } - ); + function() { that.auto_highlight(); } + ); };