add insert_cell_at_bottom prototype

pull/37/head
Bussonnier Matthias 14 years ago
parent 4982a24bd7
commit 045973b6bb

@ -550,6 +550,11 @@ var IPython = (function (IPython) {
};
Notebook.prototype.insert_cell_at_bottom = function (type){
var len = this.ncells();
return this.insert_cell_below(type,len-1);
}
Notebook.prototype.insert_cell_below = function (type, index) {
// type = ('code','html','markdown')
// index = cell index or undefined to insert below selected

Loading…
Cancel
Save