mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-791: Add missing constructor tag for Guacamole.Status. Fix swapped status code definitions.
This commit is contained in:
		| @@ -1,5 +1,5 @@ | |||||||
| /* | /* | ||||||
|  * Copyright (C) 2014 Glyptodon LLC |  * Copyright (C) 2015 Glyptodon LLC | ||||||
|  * |  * | ||||||
|  * Permission is hereby granted, free of charge, to any person obtaining a copy |  * Permission is hereby granted, free of charge, to any person obtaining a copy | ||||||
|  * of this software and associated documentation files (the "Software"), to deal |  * of this software and associated documentation files (the "Software"), to deal | ||||||
| @@ -27,9 +27,12 @@ var Guacamole = Guacamole || {}; | |||||||
|  * by the protocol, and an optional human-readable message, usually only |  * by the protocol, and an optional human-readable message, usually only | ||||||
|  * included for debugging convenience. |  * included for debugging convenience. | ||||||
|  * |  * | ||||||
|  * @param {Number} code The Guacamole status code, as defined by |  * @constructor | ||||||
|  *                      Guacamole.Status.Code. |  * @param {Number} code | ||||||
|  * @param {String} [message] An optional human-readable message. |  *     The Guacamole status code, as defined by Guacamole.Status.Code. | ||||||
|  |  * | ||||||
|  |  * @param {String} [message] | ||||||
|  |  *     An optional human-readable message. | ||||||
|  */ |  */ | ||||||
| Guacamole.Status = function(code, message) { | Guacamole.Status = function(code, message) { | ||||||
|  |  | ||||||
| @@ -101,16 +104,16 @@ Guacamole.Status.Code = { | |||||||
|     "SERVER_BUSY": 0x0201, |     "SERVER_BUSY": 0x0201, | ||||||
|  |  | ||||||
|     /** |     /** | ||||||
|      * The operation was unsuccessful due to an error or otherwise unexpected |      * The operation could not be performed because the upstream server is not | ||||||
|      * condition of the upstream server. |      * responding. | ||||||
|      * |      * | ||||||
|      * @type {Number} |      * @type {Number} | ||||||
|      */ |      */ | ||||||
|     "UPSTREAM_TIMEOUT": 0x0202, |     "UPSTREAM_TIMEOUT": 0x0202, | ||||||
|  |  | ||||||
|     /** |     /** | ||||||
|      * The operation could not be performed because the upstream server is not |      * The operation was unsuccessful due to an error or otherwise unexpected | ||||||
|      * responding. |      * condition of the upstream server. | ||||||
|      * |      * | ||||||
|      * @type {Number} |      * @type {Number} | ||||||
|      */ |      */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user