mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 21:51:23 +00:00
GUAC-791: Fix type expressions to comply with JSDoc 3.
This commit is contained in:
@@ -66,7 +66,7 @@ Guacamole.Mouse = function(element) {
|
||||
* mouse events fire. This state object is also passed in as a parameter to
|
||||
* the handler of any mouse events.
|
||||
*
|
||||
* @type Guacamole.Mouse.State
|
||||
* @type {Guacamole.Mouse.State}
|
||||
*/
|
||||
this.currentState = new Guacamole.Mouse.State(
|
||||
0, 0,
|
||||
@@ -336,7 +336,7 @@ Guacamole.Mouse = function(element) {
|
||||
* coordinates.
|
||||
*
|
||||
* @private
|
||||
* @type Boolean
|
||||
* @type {Boolean}
|
||||
*/
|
||||
var CSS3_CURSOR_SUPPORTED = (function() {
|
||||
|
||||
@@ -419,31 +419,31 @@ Guacamole.Mouse.State = function(x, y, left, middle, right, up, down) {
|
||||
|
||||
/**
|
||||
* The current X position of the mouse pointer.
|
||||
* @type Number
|
||||
* @type {Number}
|
||||
*/
|
||||
this.x = x;
|
||||
|
||||
/**
|
||||
* The current Y position of the mouse pointer.
|
||||
* @type Number
|
||||
* @type {Number}
|
||||
*/
|
||||
this.y = y;
|
||||
|
||||
/**
|
||||
* Whether the left mouse button is currently pressed.
|
||||
* @type Boolean
|
||||
* @type {Boolean}
|
||||
*/
|
||||
this.left = left;
|
||||
|
||||
/**
|
||||
* Whether the middle mouse button is currently pressed.
|
||||
* @type Boolean
|
||||
* @type {Boolean}
|
||||
*/
|
||||
this.middle = middle;
|
||||
|
||||
/**
|
||||
* Whether the right mouse button is currently pressed.
|
||||
* @type Boolean
|
||||
* @type {Boolean}
|
||||
*/
|
||||
this.right = right;
|
||||
|
||||
@@ -451,7 +451,7 @@ Guacamole.Mouse.State = function(x, y, left, middle, right, up, down) {
|
||||
* Whether the up mouse button is currently pressed. This is the fourth
|
||||
* mouse button, associated with upward scrolling of the mouse scroll
|
||||
* wheel.
|
||||
* @type Boolean
|
||||
* @type {Boolean}
|
||||
*/
|
||||
this.up = up;
|
||||
|
||||
@@ -459,7 +459,7 @@ Guacamole.Mouse.State = function(x, y, left, middle, right, up, down) {
|
||||
* Whether the down mouse button is currently pressed. This is the fifth
|
||||
* mouse button, associated with downward scrolling of the mouse scroll
|
||||
* wheel.
|
||||
* @type Boolean
|
||||
* @type {Boolean}
|
||||
*/
|
||||
this.down = down;
|
||||
|
||||
@@ -542,7 +542,7 @@ Guacamole.Mouse.Touchpad = function(element) {
|
||||
* mouse events fire. This state object is also passed in as a parameter to
|
||||
* the handler of any mouse events.
|
||||
*
|
||||
* @type Guacamole.Mouse.State
|
||||
* @type {Guacamole.Mouse.State}
|
||||
*/
|
||||
this.currentState = new Guacamole.Mouse.State(
|
||||
0, 0,
|
||||
@@ -843,7 +843,7 @@ Guacamole.Mouse.Touchscreen = function(element) {
|
||||
* mouse events fire. This state object is also passed in as a parameter to
|
||||
* the handler of any mouse events.
|
||||
*
|
||||
* @type Guacamole.Mouse.State
|
||||
* @type {Guacamole.Mouse.State}
|
||||
*/
|
||||
this.currentState = new Guacamole.Mouse.State(
|
||||
0, 0,
|
||||
|
Reference in New Issue
Block a user