From 4d501e78d03d9d8a123da10ef6f84c139971bc5b Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 2 Jun 2016 16:14:16 -0700 Subject: [PATCH] GUACAMOLE-44: Use more-readable JSDoc3 syntax for links. --- .../src/main/webapp/modules/ArrayBufferWriter.js | 2 +- .../src/main/webapp/modules/FileWriter.js | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/guacamole-common-js/src/main/webapp/modules/ArrayBufferWriter.js b/guacamole-common-js/src/main/webapp/modules/ArrayBufferWriter.js index 2fc3e938b..3b0f366c2 100644 --- a/guacamole-common-js/src/main/webapp/modules/ArrayBufferWriter.js +++ b/guacamole-common-js/src/main/webapp/modules/ArrayBufferWriter.js @@ -64,7 +64,7 @@ Guacamole.ArrayBufferWriter = function(stream) { /** * The maximum length of any blob sent by this Guacamole.ArrayBufferWriter, * in bytes. Data sent via - * {@link Guacamole.ArrayBufferWriter#sendData|sendData()} which exceeds + * [sendData()]{@link Guacamole.ArrayBufferWriter#sendData} which exceeds * this length will be split into multiple blobs. As the Guacamole protocol * limits the maximum size of any instruction or instruction element to * 8192 bytes, and the contents of blobs will be base64-encoded, this value diff --git a/guacamole-common-js/src/main/webapp/modules/FileWriter.js b/guacamole-common-js/src/main/webapp/modules/FileWriter.js index 3d221ef4b..c48a8f602 100644 --- a/guacamole-common-js/src/main/webapp/modules/FileWriter.js +++ b/guacamole-common-js/src/main/webapp/modules/FileWriter.js @@ -112,7 +112,7 @@ Guacamole.FileWriter = function FileWriter(stream) { /** * Reads the next chunk of the file provided to - * {@link Guacamole.FileWriter#sendFile|sendFile()}. The chunk itself + * [sendFile()]{@link Guacamole.FileWriter#sendFile}. The chunk itself * is read asynchronously, and will not be available until * reader.onload fires. * @@ -203,7 +203,7 @@ Guacamole.FileWriter = function FileWriter(stream) { /** * Fired when an error occurs reading a file passed to - * {@link Guacamole.FileWriter#sendFile|sendFile()}. The file transfer for + * [sendFile()]{@link Guacamole.FileWriter#sendFile}. The file transfer for * the given file will cease, but the stream will remain open. * * @event @@ -220,7 +220,7 @@ Guacamole.FileWriter = function FileWriter(stream) { /** * Fired for each successfully-read chunk of file data as a file is being - * sent via {@link Guacamole.FileWriter#sendFile|sendFile()}. + * sent via [sendFile()]{@link Guacamole.FileWriter#sendFile}. * * @event * @param {File} file @@ -233,7 +233,8 @@ Guacamole.FileWriter = function FileWriter(stream) { /** * Fired when a file passed to - * {@link Guacamole.FileWriter#sendFile|sendFile()} has finished being sent. + * [sendFile()]{@link Guacamole.FileWriter#sendFile} has finished being + * sent. * * @event * @param {File} file