Update js for comms for copy/paste

pull/4374/head
Marc Udoff 7 years ago committed by GitHub
parent c740397e49
commit e8163d57cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -88,8 +88,7 @@ And then open the comm from the frontend:
.. code-block:: javascript
comm = Jupyter.notebook.kernel.comm_manager.new_comm('my_comm_target',
{'foo': 6})
const comm = Jupyter.notebook.kernel.comm_manager.new_comm('my_comm_target', {'foo': 6})
// Send data
comm.send({'foo': 7})

Loading…
Cancel
Save