From 6526b6ea686c92b88674fcb7a0fe68c06a9255c1 Mon Sep 17 00:00:00 2001 From: Matthias BUSSONNIER Date: Fri, 24 Aug 2012 11:52:31 +0200 Subject: [PATCH] fix some whitespace --- IPython/frontend/html/notebook/static/js/cell.js | 2 +- IPython/frontend/html/notebook/static/js/codecell.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/IPython/frontend/html/notebook/static/js/cell.js b/IPython/frontend/html/notebook/static/js/cell.js index 007b8773a..4dbb9e6e6 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 1c685fd4a..4bcd7dc04 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(); } + ); };