##// END OF EJS Templates
add insert_cell_at_bottom prototype
Bussonnier Matthias -
Show More
@@ -550,6 +550,11 b' var IPython = (function (IPython) {'
550 };
550 };
551
551
552
552
553 Notebook.prototype.insert_cell_at_bottom = function (type){
554 var len = this.ncells();
555 return this.insert_cell_below(type,len-1);
556 }
557
553 Notebook.prototype.insert_cell_below = function (type, index) {
558 Notebook.prototype.insert_cell_below = function (type, index) {
554 // type = ('code','html','markdown')
559 // type = ('code','html','markdown')
555 // index = cell index or undefined to insert below selected
560 // index = cell index or undefined to insert below selected
General Comments 0
You need to be logged in to leave comments. Login now