Skip to content

Commit f73e180

Browse files
committed
jsdoc fix
1 parent 6e77557 commit f73e180

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/textures/Texture.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var TextureSource = require('./TextureSource');
2727
*
2828
* @param {Phaser.Textures.TextureManager} manager - A reference to the Texture Manager this Texture belongs to.
2929
* @param {string} key - The unique string-based key of this Texture.
30-
* @param {(Image|HTMLCanvasElement)} source - The source that is used to create the texture. Usually an Image, but can also be a Canvas.
30+
* @param {(HTMLImageElement|HTMLCanvasElement)} source - The source that is used to create the texture. Usually an Image, but can also be a Canvas.
3131
* @param {number} [width] - The width of the Texture. This is optional and automatically derived from the source images.
3232
* @param {number} [height] - The height of the Texture. This is optional and automatically derived from the source images.
3333
*/
@@ -343,7 +343,7 @@ var Texture = new Class({
343343
* @method Phaser.Textures.Texture#setDataSource
344344
* @since 3.0.0
345345
*
346-
* @param {(Image|HTMLCanvasElement)} data - The source image.
346+
* @param {(HTMLImageElement|HTMLCanvasElement)} data - The source image.
347347
*/
348348
setDataSource: function (data)
349349
{

0 commit comments

Comments
 (0)