Skip to content

Commit 148ec9a

Browse files
erik-kroghesbena
andauthored
fix typos
Co-Authored-By: Esben Sparre Andreasen <esbena@github.com>
1 parent c0af378 commit 148ec9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/ql/src/semmle/javascript/frameworks/WebSocket.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Provides classes for working with [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) and [ws](https://github.com/websockets/ws).
33
*
44
* The model is based on the EventEmitter model, and there is therefore a
5-
* data-flow step from where a WebSocket event is send to where the message
5+
* data-flow step from where a WebSocket event is sent to where the message
66
* is received.
77
*
88
* Data flow is modeled both from clients to servers, and from servers to clients.
@@ -35,7 +35,7 @@ module ClientWebSocket {
3535
}
3636

3737
/**
38-
* Holds if this class an import of the "ws" module.
38+
* Holds if this class is an import of the "ws" module.
3939
*/
4040
predicate isNode() { isNode = true }
4141
}
@@ -81,7 +81,7 @@ module ClientWebSocket {
8181
}
8282

8383
/**
84-
* Gets a handler, that is registered using method `methodName` and receives messages send to `emitter`.
84+
* Gets a handler, that is registered using method `methodName` and receives messages sent to `emitter`.
8585
*/
8686
private DataFlow::FunctionNode getAMessageHandler(ClientWebSocket::ClientSocket emitter, string methodName) {
8787
exists(DataFlow::CallNode call |

0 commit comments

Comments
 (0)