GUAC-791: Fix type expressions to comply with JSDoc 3.

This commit is contained in:
Michael Jumper
2015-12-14 13:53:00 -08:00
parent 91f8f5b06b
commit 2959513d95
18 changed files with 132 additions and 132 deletions

View File

@@ -42,7 +42,7 @@ Guacamole.Status = function(code, message) {
/**
* The Guacamole status code.
* @see Guacamole.Status.Code
* @type Number
* @type {Number}
*/
this.code = code;
@@ -52,7 +52,7 @@ Guacamole.Status = function(code, message) {
* for debugging purposes only. For user feedback, it is better to translate
* the Guacamole status code into a message.
*
* @type String
* @type {String}
*/
this.message = message;
@@ -75,28 +75,28 @@ Guacamole.Status.Code = {
/**
* The operation succeeded.
*
* @type Number
* @type {Number}
*/
"SUCCESS": 0x0000,
/**
* The requested operation is unsupported.
*
* @type Number
* @type {Number}
*/
"UNSUPPORTED": 0x0100,
/**
* The operation could not be performed due to an internal failure.
*
* @type Number
* @type {Number}
*/
"SERVER_ERROR": 0x0200,
/**
* The operation could not be performed as the server is busy.
*
* @type Number
* @type {Number}
*/
"SERVER_BUSY": 0x0201,
@@ -104,7 +104,7 @@ Guacamole.Status.Code = {
* The operation was unsuccessful due to an error or otherwise unexpected
* condition of the upstream server.
*
* @type Number
* @type {Number}
*/
"UPSTREAM_TIMEOUT": 0x0202,
@@ -112,7 +112,7 @@ Guacamole.Status.Code = {
* The operation could not be performed because the upstream server is not
* responding.
*
* @type Number
* @type {Number}
*/
"UPSTREAM_ERROR": 0x0203,
@@ -120,7 +120,7 @@ Guacamole.Status.Code = {
* The operation could not be performed as the requested resource does not
* exist.
*
* @type Number
* @type {Number}
*/
"RESOURCE_NOT_FOUND": 0x0204,
@@ -128,14 +128,14 @@ Guacamole.Status.Code = {
* The operation could not be performed as the requested resource is
* already in use.
*
* @type Number
* @type {Number}
*/
"RESOURCE_CONFLICT": 0x0205,
/**
* The operation could not be performed because bad parameters were given.
*
* @type Number
* @type {Number}
*/
"CLIENT_BAD_REQUEST": 0x0300,
@@ -143,7 +143,7 @@ Guacamole.Status.Code = {
* Permission was denied to perform the operation, as the user is not yet
* authorized (not yet logged in, for example).
*
* @type Number
* @type {Number}
*/
"CLIENT_UNAUTHORIZED": 0x0301,
@@ -151,28 +151,28 @@ Guacamole.Status.Code = {
* Permission was denied to perform the operation, and this permission will
* not be granted even if the user is authorized.
*
* @type Number
* @type {Number}
*/
"CLIENT_FORBIDDEN": 0x0303,
/**
* The client took too long to respond.
*
* @type Number
* @type {Number}
*/
"CLIENT_TIMEOUT": 0x0308,
/**
* The client sent too much data.
*
* @type Number
* @type {Number}
*/
"CLIENT_OVERRUN": 0x030D,
/**
* The client sent data of an unsupported or unexpected type.
*
* @type Number
* @type {Number}
*/
"CLIENT_BAD_TYPE": 0x030F,
@@ -180,7 +180,7 @@ Guacamole.Status.Code = {
* The operation failed because the current client is already using too
* many resources.
*
* @type Number
* @type {Number}
*/
"CLIENT_TOO_MANY": 0x031D