diff --git a/src/gameobjects/sprite/Sprite.js b/src/gameobjects/sprite/Sprite.js index 6e27ca221..740949bb7 100644 --- a/src/gameobjects/sprite/Sprite.js +++ b/src/gameobjects/sprite/Sprite.js @@ -131,7 +131,7 @@ var Sprite = new Class({ * @method Phaser.GameObjects.Sprite#toJSON * @since 3.0.0 * - * @return {object} [description] + * @return {JSONGameObject} A JSON representation of the Game Object. */ toJSON: function () { diff --git a/src/textures/index.js b/src/textures/index.js index af3aa0be5..5df9e3f3a 100644 --- a/src/textures/index.js +++ b/src/textures/index.js @@ -6,6 +6,8 @@ /** * @namespace Phaser.Textures + * @property {integer} LINEAR - Linear filter type. + * @property {integer} NEAREST - Nearest neighbor filter type. */ var Textures = { @@ -17,22 +19,7 @@ var Textures = { TextureManager: require('./TextureManager'), TextureSource: require('./TextureSource'), - /** - * Linear filter type. - * - * @name Phaser.Textures.LINEAR - * @type {integer} - * @since 3.0.0 - */ LINEAR: 0, - - /** - * Nearest neighbor filter type. - * - * @name Phaser.Textures.NEAREST - * @type {integer} - * @since 3.0.0 - */ NEAREST: 1 };