mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-986: Update documentation of all parameters/returns to specify non-nullable and/or primitive types where appropriate.
This commit is contained in:
@@ -61,7 +61,8 @@ Guacamole.Parser = function() {
|
||||
* this Guacamole.Parser, executing all completed instructions at
|
||||
* the beginning of this buffer, if any.
|
||||
*
|
||||
* @param {String} packet The instruction data to receive.
|
||||
* @param {!string} packet
|
||||
* The instruction data to receive.
|
||||
*/
|
||||
this.receive = function(packet) {
|
||||
|
||||
@@ -147,9 +148,11 @@ Guacamole.Parser = function() {
|
||||
* Fired once for every complete Guacamole instruction received, in order.
|
||||
*
|
||||
* @event
|
||||
* @param {String} opcode The Guacamole instruction opcode.
|
||||
* @param {Array} parameters The parameters provided for the instruction,
|
||||
* if any.
|
||||
* @param {!string} opcode
|
||||
* The Guacamole instruction opcode.
|
||||
*
|
||||
* @param {!string[]} parameters
|
||||
* The parameters provided for the instruction, if any.
|
||||
*/
|
||||
this.oninstruction = null;
|
||||
|
||||
|
Reference in New Issue
Block a user