More jsdoc fixes

This commit is contained in:
Richard Davey 2018-04-16 15:11:51 +01:00
parent 18585de81d
commit b392dee5a9
5 changed files with 12 additions and 10 deletions

View file

@ -308,7 +308,7 @@ var Animation = new Class({
/**
* Sets the amount of time, in milliseconds, that the animation will be delayed before starting playback.
*
* @method Phaser.GameObjects.Components.Animation#delay
* @method Phaser.GameObjects.Components.Animation#setDelay
* @since 3.4.0
*
* @param {integer} [value=0] - The amount of time, in milliseconds, to wait before starting playback.
@ -327,7 +327,7 @@ var Animation = new Class({
/**
* Gets the amount of time, in milliseconds that the animation will be delayed before starting playback.
*
* @method Phaser.GameObjects.Components.Animation#delay
* @method Phaser.GameObjects.Components.Animation#getDelay
* @since 3.4.0
*
* @return {integer} The amount of time, in milliseconds, the Animation will wait before starting playback.

View file

@ -5,7 +5,7 @@
*/
/**
* @namespace Phaser.Physics.Arcade.Body.Components
* @namespace Phaser.Physics.Arcade.Components
*/
module.exports = {

View file

@ -5,7 +5,7 @@
*/
/**
* @namespace Phaser.Physics.Impact.Body.Components
* @namespace Phaser.Physics.Impact.Components
*/
module.exports = {

View file

@ -5,7 +5,7 @@
*/
/**
* @namespace Phaser.Physics.Matter.Body.Components
* @namespace Phaser.Physics.Matter.Components
*/
module.exports = {

View file

@ -9,10 +9,12 @@ var GetValue = require('../utils/object/GetValue');
var Merge = require('../utils/object/Merge');
var InjectionMap = require('./InjectionMap');
// TODO 22/03/2018 Fix "plugins" type
/**
* @namespace Phaser.Scenes.Settings
*/
/**
* @typedef {object} SettingsConfig
* @typedef {object} Phaser.Scenes.Settings.Config
*
* @property {string} [key] - [description]
* @property {boolean} [active=false] - [description]
@ -27,7 +29,7 @@ var InjectionMap = require('./InjectionMap');
*/
/**
* @typedef {object} SettingsObject
* @typedef {object} Phaser.Scenes.Settings.Object
*
* @property {number} status - [description]
* @property {string} key - [description]
@ -55,9 +57,9 @@ var Settings = {
* @function Phaser.Scenes.Settings.create
* @since 3.0.0
*
* @param {(string|SettingsConfig)} config - [description]
* @param {(string|Phaser.Scenes.SettingsConfig)} config - [description]
*
* @return {SettingsObject} [description]
* @return {Phaser.Scenes.Settings.Object} [description]
*/
create: function (config)
{