Skip to content

Commit 37589ff

Browse files
committed
jsdoc updates
1 parent cef9050 commit 37589ff

2 files changed

Lines changed: 3 additions & 16 deletions

File tree

src/gameobjects/sprite/Sprite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ var Sprite = new Class({
131131
* @method Phaser.GameObjects.Sprite#toJSON
132132
* @since 3.0.0
133133
*
134-
* @return {object} [description]
134+
* @return {JSONGameObject} A JSON representation of the Game Object.
135135
*/
136136
toJSON: function ()
137137
{

src/textures/index.js

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
/**
88
* @namespace Phaser.Textures
9+
* @property {integer} LINEAR - Linear filter type.
10+
* @property {integer} NEAREST - Nearest neighbor filter type.
911
*/
1012

1113
var Textures = {
@@ -17,22 +19,7 @@ var Textures = {
1719
TextureManager: require('./TextureManager'),
1820
TextureSource: require('./TextureSource'),
1921

20-
/**
21-
* Linear filter type.
22-
*
23-
* @name Phaser.Textures.LINEAR
24-
* @type {integer}
25-
* @since 3.0.0
26-
*/
2722
LINEAR: 0,
28-
29-
/**
30-
* Nearest neighbor filter type.
31-
*
32-
* @name Phaser.Textures.NEAREST
33-
* @type {integer}
34-
* @since 3.0.0
35-
*/
3623
NEAREST: 1
3724

3825
};

0 commit comments

Comments
 (0)