Show More
@@ -278,7 +278,7 b' var IPython = (function (IPython) {' | |||
|
278 | 278 | * @return {Boolean} |
|
279 | 279 | */ |
|
280 | 280 | Cell.prototype.at_top = function () { |
|
281 | var cm = this.code_mirror | |
|
281 | var cm = this.code_mirror; | |
|
282 | 282 | var cursor = cm.getCursor(); |
|
283 | 283 | if (cursor.line === 0 && cm.findPosV(cursor, -1, 'line').hitSide) { |
|
284 | 284 | return true; |
@@ -292,7 +292,7 b' var IPython = (function (IPython) {' | |||
|
292 | 292 | * @return {Boolean} |
|
293 | 293 | * */ |
|
294 | 294 | Cell.prototype.at_bottom = function () { |
|
295 | var cm = this.code_mirror | |
|
295 | var cm = this.code_mirror; | |
|
296 | 296 | var cursor = cm.getCursor(); |
|
297 | 297 | if (cursor.line === (cm.lineCount()-1) && cm.findPosV(cursor, 1, 'line').hitSide) { |
|
298 | 298 | return true; |
General Comments 0
You need to be logged in to leave comments.
Login now