Show More
@@ -1349,7 +1349,7 define([ | |||
|
1349 | 1349 | * @method collapse_all_output |
|
1350 | 1350 | */ |
|
1351 | 1351 | Notebook.prototype.collapse_all_output = function () { |
|
1352 |
|
|
|
1352 | this.get_cells().map(function (cell, i) { | |
|
1353 | 1353 | if (cell instanceof codecell.CodeCell) { |
|
1354 | 1354 | cell.collapse_output(); |
|
1355 | 1355 | } |
@@ -1379,7 +1379,7 define([ | |||
|
1379 | 1379 | * @method expand_all_output |
|
1380 | 1380 | */ |
|
1381 | 1381 | Notebook.prototype.expand_all_output = function () { |
|
1382 |
|
|
|
1382 | this.get_cells().map(function (cell, i) { | |
|
1383 | 1383 | if (cell instanceof codecell.CodeCell) { |
|
1384 | 1384 | cell.expand_output(); |
|
1385 | 1385 | } |
@@ -1409,7 +1409,7 define([ | |||
|
1409 | 1409 | * @method clear_all_output |
|
1410 | 1410 | */ |
|
1411 | 1411 | Notebook.prototype.clear_all_output = function () { |
|
1412 |
|
|
|
1412 | this.get_cells().map(function (cell, i) { | |
|
1413 | 1413 | if (cell instanceof codecell.CodeCell) { |
|
1414 | 1414 | cell.clear_output(); |
|
1415 | 1415 | } |
@@ -1438,7 +1438,7 define([ | |||
|
1438 | 1438 | * @method scroll_all_output |
|
1439 | 1439 | */ |
|
1440 | 1440 | Notebook.prototype.scroll_all_output = function () { |
|
1441 |
|
|
|
1441 | this.get_cells().map(function (cell, i) { | |
|
1442 | 1442 | if (cell instanceof codecell.CodeCell) { |
|
1443 | 1443 | cell.scroll_output(); |
|
1444 | 1444 | } |
@@ -1467,7 +1467,7 define([ | |||
|
1467 | 1467 | * @method toggle_all_output |
|
1468 | 1468 | */ |
|
1469 | 1469 | Notebook.prototype.toggle_all_output = function () { |
|
1470 |
|
|
|
1470 | this.get_cells().map(function (cell, i) { | |
|
1471 | 1471 | if (cell instanceof codecell.CodeCell) { |
|
1472 | 1472 | cell.toggle_output(); |
|
1473 | 1473 | } |
@@ -1497,7 +1497,7 define([ | |||
|
1497 | 1497 | * @method toggle_all_output_scrolling |
|
1498 | 1498 | */ |
|
1499 | 1499 | Notebook.prototype.toggle_all_output_scroll = function () { |
|
1500 |
|
|
|
1500 | this.get_cells().map(function (cell, i) { | |
|
1501 | 1501 | if (cell instanceof codecell.CodeCell) { |
|
1502 | 1502 | cell.toggle_output_scroll(); |
|
1503 | 1503 | } |
@@ -1533,7 +1533,7 define([ | |||
|
1533 | 1533 | |
|
1534 | 1534 | that = this; |
|
1535 | 1535 | utils.requireCodeMirrorMode(modename, function () { |
|
1536 |
|
|
|
1536 | that.get_cells().map(function(cell, i) { | |
|
1537 | 1537 | if (cell.cell_type === 'code'){ |
|
1538 | 1538 | cell.code_mirror.setOption('mode', newmode); |
|
1539 | 1539 | // This is currently redundant, because cm_config ends up as |
General Comments 0
You need to be logged in to leave comments.
Login now