From 01609ca51ad1f9d9a33b56a67fbf71adf1efc755 2013-10-23 03:25:04 From: MinRK Date: 2013-10-23 03:25:04 Subject: [PATCH] don't expose comm_id arg via new_comm --- diff --git a/IPython/html/static/services/kernels/js/comm.js b/IPython/html/static/services/kernels/js/comm.js index 3c8fec6..d9b3288 100644 --- a/IPython/html/static/services/kernels/js/comm.js +++ b/IPython/html/static/services/kernels/js/comm.js @@ -40,10 +40,10 @@ var IPython = (function (IPython) { } }; - CommManager.prototype.new_comm = function (target_name, data, callbacks, metadata, comm_id) { + CommManager.prototype.new_comm = function (target_name, data, callbacks, metadata) { // Create a new Comm, register it, and open its Kernel-side counterpart // Mimics the auto-registration in `Comm.__init__` in the IPython Comm - var comm = new Comm(target_name, comm_id); + var comm = new Comm(target_name); this.register_comm(comm); comm.open(data, callbacks, metadata); return comm;