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