From caf0ecc99b526e558ec4bd0e6d904f9acc030ccd Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 27 Dec 2022 14:55:06 +0100 Subject: Consistent naming of RFB arguments Make sure we call the arguments the same everywhere. Follow-up to commit 44d384b. --- docs/API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/API.md b/docs/API.md index 443483d..d55f8d8 100644 --- a/docs/API.md +++ b/docs/API.md @@ -184,7 +184,7 @@ connection to a specified VNC server. ##### Syntax - let rfb = new RFB( target, url [, options] ); + let rfb = new RFB( target, urlOrChannel [, options] ); ###### Parameters @@ -196,7 +196,7 @@ connection to a specified VNC server. [mdn-elem]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement -**`urlOrDataChannel`** +**`urlOrChannel`** - A `DOMString` specifying the VNC server to connect to. This must be a valid WebSocket URL. This can also be a `WebSocket` or `RTCDataChannel`. -- cgit v1.2.1