diff --git a/IPython/html/static/notebook/js/cell.js b/IPython/html/static/notebook/js/cell.js index 12fb37f..636f61e 100644 --- a/IPython/html/static/notebook/js/cell.js +++ b/IPython/html/static/notebook/js/cell.js @@ -144,12 +144,12 @@ var IPython = (function (IPython) { this.code_mirror.on("change", function(cm, change) { $([IPython.events]).trigger("set_dirty.Notebook", {value: true}); }); - }; + } if (this.code_mirror) { this.code_mirror.on('focus', function(cm, change) { $([IPython.events]).trigger('edit_mode.Cell', {cell: that}); }); - }; + } if (this.code_mirror) { this.code_mirror.on('blur', function(cm, change) { if (that.mode === 'edit') { @@ -165,7 +165,7 @@ var IPython = (function (IPython) { }, 1); } }); - }; + } }; /** @@ -176,7 +176,7 @@ var IPython = (function (IPython) { if (window.MathJax) { var cell_math = this.element.get(0); MathJax.Hub.Queue(["Typeset", MathJax.Hub, cell_math]); - }; + } }; /** @@ -192,7 +192,7 @@ var IPython = (function (IPython) { return true; } else { return false; - }; + } }; /** @@ -208,7 +208,7 @@ var IPython = (function (IPython) { return true; } else { return false; - }; + } }; /** @@ -224,7 +224,7 @@ var IPython = (function (IPython) { return true; } else { return false; - }; + } }; /** @@ -240,7 +240,7 @@ var IPython = (function (IPython) { return true; } else { return false; - }; + } }; /** @@ -256,7 +256,7 @@ var IPython = (function (IPython) { return true; } else { return false; - }; + } }; /** @@ -272,7 +272,7 @@ var IPython = (function (IPython) { return true; } else { return false; - }; + } } /** diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js index 1c10371..c21a136 100644 --- a/IPython/html/static/notebook/js/codecell.js +++ b/IPython/html/static/notebook/js/codecell.js @@ -353,7 +353,7 @@ var IPython = (function (IPython) { if (cont) { this.code_mirror.refresh(); this.auto_highlight(); - }; + } return cont; }; @@ -372,7 +372,7 @@ var IPython = (function (IPython) { var cont = IPython.Cell.prototype.edit_mode.apply(this); if (cont) { this.focus_editor(); - }; + } return cont; }