##// END OF EJS Templates
Simplify get_msg_cell function of notebook.js
Jonathan Frederic -
Show More
@@ -308,10 +308,7 b' var IPython = (function (IPython) {'
308 * @return {Cell} Cell or null if no cell was found.
308 * @return {Cell} Cell or null if no cell was found.
309 */
309 */
310 Notebook.prototype.get_msg_cell = function (msg_id) {
310 Notebook.prototype.get_msg_cell = function (msg_id) {
311 if (IPython.CodeCell.msg_cells[msg_id] !== undefined) {
311 return IPython.CodeCell.msg_cells[msg_id] || null;
312 return IPython.CodeCell.msg_cells[msg_id];
313 }
314 return null;
315 };
312 };
316
313
317 /**
314 /**
General Comments 0
You need to be logged in to leave comments. Login now