Semicolon cleanup.

This commit is contained in:
Brian E. Granger 2014-01-09 13:10:31 -08:00
parent c54f48278d
commit 5e706935e1
2 changed files with 12 additions and 12 deletions

View File

@ -144,12 +144,12 @@ var IPython = (function (IPython) {
this.code_mirror.on("change", function(cm, change) { this.code_mirror.on("change", function(cm, change) {
$([IPython.events]).trigger("set_dirty.Notebook", {value: true}); $([IPython.events]).trigger("set_dirty.Notebook", {value: true});
}); });
}; }
if (this.code_mirror) { if (this.code_mirror) {
this.code_mirror.on('focus', function(cm, change) { this.code_mirror.on('focus', function(cm, change) {
$([IPython.events]).trigger('edit_mode.Cell', {cell: that}); $([IPython.events]).trigger('edit_mode.Cell', {cell: that});
}); });
}; }
if (this.code_mirror) { if (this.code_mirror) {
this.code_mirror.on('blur', function(cm, change) { this.code_mirror.on('blur', function(cm, change) {
if (that.mode === 'edit') { if (that.mode === 'edit') {
@ -165,7 +165,7 @@ var IPython = (function (IPython) {
}, 1); }, 1);
} }
}); });
}; }
}; };
/** /**
@ -176,7 +176,7 @@ var IPython = (function (IPython) {
if (window.MathJax) { if (window.MathJax) {
var cell_math = this.element.get(0); var cell_math = this.element.get(0);
MathJax.Hub.Queue(["Typeset", MathJax.Hub, cell_math]); MathJax.Hub.Queue(["Typeset", MathJax.Hub, cell_math]);
}; }
}; };
/** /**
@ -192,7 +192,7 @@ var IPython = (function (IPython) {
return true; return true;
} else { } else {
return false; return false;
}; }
}; };
/** /**
@ -208,7 +208,7 @@ var IPython = (function (IPython) {
return true; return true;
} else { } else {
return false; return false;
}; }
}; };
/** /**
@ -224,7 +224,7 @@ var IPython = (function (IPython) {
return true; return true;
} else { } else {
return false; return false;
}; }
}; };
/** /**
@ -240,7 +240,7 @@ var IPython = (function (IPython) {
return true; return true;
} else { } else {
return false; return false;
}; }
}; };
/** /**
@ -256,7 +256,7 @@ var IPython = (function (IPython) {
return true; return true;
} else { } else {
return false; return false;
}; }
}; };
/** /**
@ -272,7 +272,7 @@ var IPython = (function (IPython) {
return true; return true;
} else { } else {
return false; return false;
}; }
} }
/** /**

View File

@ -353,7 +353,7 @@ var IPython = (function (IPython) {
if (cont) { if (cont) {
this.code_mirror.refresh(); this.code_mirror.refresh();
this.auto_highlight(); this.auto_highlight();
}; }
return cont; return cont;
}; };
@ -372,7 +372,7 @@ var IPython = (function (IPython) {
var cont = IPython.Cell.prototype.edit_mode.apply(this); var cont = IPython.Cell.prototype.edit_mode.apply(this);
if (cont) { if (cont) {
this.focus_editor(); this.focus_editor();
}; }
return cont; return cont;
} }