Skip to content

Commit 6e77557

Browse files
committed
jsdoc fixes
1 parent b0544c7 commit 6e77557

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/gameobjects/bitmaptext/static/BitmapText.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ var BitmapText = new Class({
288288
* @method Phaser.GameObjects.BitmapText#toJSON
289289
* @since 3.0.0
290290
*
291-
* @return {JSONGameObject.<JSONBitmapText>} [description]
291+
* @return {JSONBitmapText} [description]
292292
*/
293293
toJSON: function ()
294294
{

src/textures/TextureSource.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var ScaleModes = require('../renderer/ScaleModes');
2222
* @since 3.0.0
2323
*
2424
* @param {Phaser.Textures.Texture} texture - The Texture this TextureSource belongs to.
25-
* @param {(Image|HTMLCanvasElement)} source - The source image data.
25+
* @param {(HTMLImageElement|HTMLCanvasElement)} source - The source image data.
2626
* @param {integer} [width] - Optional width of the source image. If not given it's derived from the source itself.
2727
* @param {integer} [height] - Optional height of the source image. If not given it's derived from the source itself.
2828
*/

0 commit comments

Comments
 (0)