From e8163d57cc455a5648e372a749324fd5ab3d4bed Mon Sep 17 00:00:00 2001 From: Marc Udoff Date: Tue, 29 Jan 2019 19:39:36 -0500 Subject: [PATCH] Update js for comms for copy/paste --- docs/source/comms.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/source/comms.rst b/docs/source/comms.rst index 16aec45f8..7c292d78b 100644 --- a/docs/source/comms.rst +++ b/docs/source/comms.rst @@ -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})