summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2022-12-27 14:58:16 +0100
committerPierre Ossman <ossman@cendio.se>2022-12-27 14:58:16 +0100
commitce534b85c140e11662a5839188471d5daf9bc278 (patch)
treef73db087ea4e2512effa68ecc573e0ce896356cb
parentcaf0ecc99b526e558ec4bd0e6d904f9acc030ccd (diff)
downloadnovnc-ce534b85c140e11662a5839188471d5daf9bc278.tar.gz
Fix indentation of toBlob()/toImage() docs
It isn't considered a code block if it isn't indented properly.
-rw-r--r--docs/API.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/API.md b/docs/API.md
index d55f8d8..ddf392f 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -384,7 +384,7 @@ the screen encoded as [`ImageData`][mdn-imagedata].
##### Syntax
- RFB.getImageData();
+ RFB.getImageData( );
#### RFB.machineReboot()
@@ -476,9 +476,9 @@ screen encoded as [`Blob`][mdn-blob].
##### Syntax
- RFB.toDataURL(callback);
- RFB.toDataURL(callback, type);
- RFB.toDataURL(callback, type, quality);
+ RFB.toDataURL( callback );
+ RFB.toDataURL( callback, type );
+ RFB.toDataURL( callback, type, quality );
###### Parameters
@@ -500,9 +500,9 @@ of an `img` tag.
##### Syntax
- RFB.toDataURL();
- RFB.toDataURL(type);
- RFB.toDataURL(type, encoderOptions);
+ RFB.toDataURL( );
+ RFB.toDataURL( type );
+ RFB.toDataURL( type, encoderOptions );
###### Parameters