From 3aaeba76a9c6585bbf82f98dc0f1e4c122926ccc Mon Sep 17 00:00:00 2001 From: David Rowe Date: Tue, 17 Dec 2019 09:20:18 +1300 Subject: [PATCH] Fix typos in WebSocket JSDoc --- libraries/script-engine/src/WebSocketClass.cpp | 2 +- libraries/script-engine/src/WebSocketClass.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/script-engine/src/WebSocketClass.cpp b/libraries/script-engine/src/WebSocketClass.cpp index 73774912a9..7333e38037 100644 --- a/libraries/script-engine/src/WebSocketClass.cpp +++ b/libraries/script-engine/src/WebSocketClass.cpp @@ -99,7 +99,7 @@ void WebSocketClass::handleOnClose() { * @param {WebSocket.SocketError} error - The error. */ /**jsdoc - * Information on a socket error. + *

The type of socket error.

* * * diff --git a/libraries/script-engine/src/WebSocketClass.h b/libraries/script-engine/src/WebSocketClass.h index 56fb334152..c181965bf7 100644 --- a/libraries/script-engine/src/WebSocketClass.h +++ b/libraries/script-engine/src/WebSocketClass.h @@ -17,9 +17,9 @@ #include /**jsdoc - * Provides a bi-direcctional, event-driven communication session between the script and another WebSocket connection. It is a + * Provides a bi-directional, event-driven communication session between the script and another WebSocket connection. It is a * near-complete implementation of the WebSocket API described in the Mozilla docs: - * https://developer.mozilla.org/en-US/docs/Web/API/WebSocket.

+ * https://developer.mozilla.org/en-US/docs/Web/API/WebSocket. * *

Constructed by new WebSocket(...) in Interface, client entity, avatar, and server entity scripts, or the * {@link WebSocketServer} class in server entity and assignment client scripts.

ValueNameDescription