From 54aa8a9f61cac162bf8e206d58fbc854521188ca Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Thu, 3 Oct 2013 22:50:34 -0500 Subject: [PATCH] Make parameters for kernel start method more general --- IPython/html/static/notebook/js/notebook.js | 2 +- IPython/html/static/services/kernels/js/kernel.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/IPython/html/static/notebook/js/notebook.js b/IPython/html/static/notebook/js/notebook.js index 88891ac52..9faf26649 100644 --- a/IPython/html/static/notebook/js/notebook.js +++ b/IPython/html/static/notebook/js/notebook.js @@ -1370,7 +1370,7 @@ var IPython = (function (IPython) { Notebook.prototype.start_kernel = function () { var base_url = $('body').data('baseKernelUrl') + "kernels"; this.kernel = new IPython.Kernel(base_url); - this.kernel.start(this.notebook_id); + this.kernel.start({notebook: this.notebook_id}); // Now that the kernel has been created, tell the CodeCells about it. var ncells = this.ncells(); for (var i=0; i