From 641a4cdb0051dc82815720127f6589ecf9d9f8e5 Mon Sep 17 00:00:00 2001 From: Orel Date: Fri, 5 Feb 2021 20:46:00 +0100 Subject: [PATCH 1/2] sockJS include when playing with jsclient lib --- docs/jsclientlib/index.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/jsclientlib/index.rst b/docs/jsclientlib/index.rst index 43b734769..4d22e8876 100644 --- a/docs/jsclientlib/index.rst +++ b/docs/jsclientlib/index.rst @@ -40,6 +40,12 @@ because the library depends on those to be available (as ``$`` and ``_``). You c +Moreover, if you need to use the socket module, you'll need to include sockJS. You can embedded it like this: + +.. code-block:: html+jinja + + + Note that all components depend on the ``base`` component to be present, so if you are only including a select number of components, make sure to at the very least include that one to be able to utilize the client. From 9792e1e3ae91d1547470f54336b46bd063afcea2 Mon Sep 17 00:00:00 2001 From: Orel Date: Fri, 5 Feb 2021 20:51:33 +0100 Subject: [PATCH 2/2] Fix my bad english... --- docs/jsclientlib/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/jsclientlib/index.rst b/docs/jsclientlib/index.rst index 4d22e8876..280b3c241 100644 --- a/docs/jsclientlib/index.rst +++ b/docs/jsclientlib/index.rst @@ -40,7 +40,7 @@ because the library depends on those to be available (as ``$`` and ``_``). You c -Moreover, if you need to use the socket module, you'll need to include sockJS. You can embedded it like this: +Moreover, if you need to use the socket module, you'll need to include sockJS. You can embed it like this: .. code-block:: html+jinja