##// END OF EJS Templates
Semicolon cleanup.
Brian E. Granger -
Show More
@@ -144,12 +144,12 b' var IPython = (function (IPython) {'
144 this.code_mirror.on("change", function(cm, change) {
144 this.code_mirror.on("change", function(cm, change) {
145 $([IPython.events]).trigger("set_dirty.Notebook", {value: true});
145 $([IPython.events]).trigger("set_dirty.Notebook", {value: true});
146 });
146 });
147 };
147 }
148 if (this.code_mirror) {
148 if (this.code_mirror) {
149 this.code_mirror.on('focus', function(cm, change) {
149 this.code_mirror.on('focus', function(cm, change) {
150 $([IPython.events]).trigger('edit_mode.Cell', {cell: that});
150 $([IPython.events]).trigger('edit_mode.Cell', {cell: that});
151 });
151 });
152 };
152 }
153 if (this.code_mirror) {
153 if (this.code_mirror) {
154 this.code_mirror.on('blur', function(cm, change) {
154 this.code_mirror.on('blur', function(cm, change) {
155 if (that.mode === 'edit') {
155 if (that.mode === 'edit') {
@@ -165,7 +165,7 b' var IPython = (function (IPython) {'
165 }, 1);
165 }, 1);
166 }
166 }
167 });
167 });
168 };
168 }
169 };
169 };
170
170
171 /**
171 /**
@@ -176,7 +176,7 b' var IPython = (function (IPython) {'
176 if (window.MathJax) {
176 if (window.MathJax) {
177 var cell_math = this.element.get(0);
177 var cell_math = this.element.get(0);
178 MathJax.Hub.Queue(["Typeset", MathJax.Hub, cell_math]);
178 MathJax.Hub.Queue(["Typeset", MathJax.Hub, cell_math]);
179 };
179 }
180 };
180 };
181
181
182 /**
182 /**
@@ -192,7 +192,7 b' var IPython = (function (IPython) {'
192 return true;
192 return true;
193 } else {
193 } else {
194 return false;
194 return false;
195 };
195 }
196 };
196 };
197
197
198 /**
198 /**
@@ -208,7 +208,7 b' var IPython = (function (IPython) {'
208 return true;
208 return true;
209 } else {
209 } else {
210 return false;
210 return false;
211 };
211 }
212 };
212 };
213
213
214 /**
214 /**
@@ -224,7 +224,7 b' var IPython = (function (IPython) {'
224 return true;
224 return true;
225 } else {
225 } else {
226 return false;
226 return false;
227 };
227 }
228 };
228 };
229
229
230 /**
230 /**
@@ -240,7 +240,7 b' var IPython = (function (IPython) {'
240 return true;
240 return true;
241 } else {
241 } else {
242 return false;
242 return false;
243 };
243 }
244 };
244 };
245
245
246 /**
246 /**
@@ -256,7 +256,7 b' var IPython = (function (IPython) {'
256 return true;
256 return true;
257 } else {
257 } else {
258 return false;
258 return false;
259 };
259 }
260 };
260 };
261
261
262 /**
262 /**
@@ -272,7 +272,7 b' var IPython = (function (IPython) {'
272 return true;
272 return true;
273 } else {
273 } else {
274 return false;
274 return false;
275 };
275 }
276 }
276 }
277
277
278 /**
278 /**
@@ -353,7 +353,7 b' var IPython = (function (IPython) {'
353 if (cont) {
353 if (cont) {
354 this.code_mirror.refresh();
354 this.code_mirror.refresh();
355 this.auto_highlight();
355 this.auto_highlight();
356 };
356 }
357 return cont;
357 return cont;
358 };
358 };
359
359
@@ -372,7 +372,7 b' var IPython = (function (IPython) {'
372 var cont = IPython.Cell.prototype.edit_mode.apply(this);
372 var cont = IPython.Cell.prototype.edit_mode.apply(this);
373 if (cont) {
373 if (cont) {
374 this.focus_editor();
374 this.focus_editor();
375 };
375 }
376 return cont;
376 return cont;
377 }
377 }
378
378
General Comments 0
You need to be logged in to leave comments. Login now