Skip to content

Commit 9d52b6a

Browse files
committed
Fixed jsdoc errors
1 parent 7eac419 commit 9d52b6a

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/gameobjects/bitmaptext/GetBitmapTextSize.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* @property {number} x - The x position of the BitmapText, taking into account the x position and scale of the Game Object.
2020
* @property {number} y - The y position of the BitmapText, taking into account the y position and scale of the Game Object.
2121
* @property {number} width - The width of the BitmapText, taking into account the x scale of the Game Object.
22-
* @property {number} width - The height of the BitmapText, taking into account the y scale of the Game Object.
22+
* @property {number} height - The height of the BitmapText, taking into account the y scale of the Game Object.
2323
*/
2424

2525
/**
@@ -30,7 +30,7 @@
3030
* @property {number} x - The x position of the BitmapText.
3131
* @property {number} y - The y position of the BitmapText.
3232
* @property {number} width - The width of the BitmapText.
33-
* @property {number} width - The height of the BitmapText.
33+
* @property {number} height - The height of the BitmapText.
3434
*/
3535

3636
/**

src/gameobjects/bitmaptext/static/BitmapText.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var Render = require('./BitmapTextRender');
2727
* @property {number} xOffset - The x offset of the character.
2828
* @property {number} yOffset - The y offset of the character.
2929
* @property {object} data - Extra data for the character.
30-
* @property {Object.<integer, number>} kerning - Kerning values, keyed by character code.
30+
* @property {Object.<number>} kerning - Kerning values, keyed by character code.
3131
*/
3232

3333
/**
@@ -39,7 +39,7 @@ var Render = require('./BitmapTextRender');
3939
* @property {number} size - The size of the font.
4040
* @property {number} lineHeight - The line height of the font.
4141
* @property {boolean} retroFont - Whether this font is a retro font (monospace).
42-
* @property {Object.<integer, BitmapFontCharacterData>} chars - The character data of the font, keyed by character code. Each character datum includes a position, size, offset and more.
42+
* @property {Object.<number, BitmapFontCharacterData>} chars - The character data of the font, keyed by character code. Each character datum includes a position, size, offset and more.
4343
*/
4444

4545
/**

src/input/mouse/MouseManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ var MouseManager = new Class({
170170
* @method Phaser.Input.Mouse.MouseManager#pointerLockChange
171171
* @since 3.0.0
172172
*
173-
* @param {MouseHandler} event - The native event from the browser.
173+
* @param {MouseEvent} event - The native event from the browser.
174174
*/
175175
pointerLockChange: function (event)
176176
{

0 commit comments

Comments
 (0)