mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-03 03:41:14 +08:00
Update js for comms for copy/paste
This commit is contained in:
parent
c740397e49
commit
e8163d57cc
@ -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…
Reference in New Issue
Block a user