Skip to content

Commit b392dee

Browse files
committed
More jsdoc fixes
1 parent 18585de commit b392dee

5 files changed

Lines changed: 12 additions & 10 deletions

File tree

src/gameobjects/components/Animation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ var Animation = new Class({
308308
/**
309309
* Sets the amount of time, in milliseconds, that the animation will be delayed before starting playback.
310310
*
311-
* @method Phaser.GameObjects.Components.Animation#delay
311+
* @method Phaser.GameObjects.Components.Animation#setDelay
312312
* @since 3.4.0
313313
*
314314
* @param {integer} [value=0] - The amount of time, in milliseconds, to wait before starting playback.
@@ -327,7 +327,7 @@ var Animation = new Class({
327327
/**
328328
* Gets the amount of time, in milliseconds that the animation will be delayed before starting playback.
329329
*
330-
* @method Phaser.GameObjects.Components.Animation#delay
330+
* @method Phaser.GameObjects.Components.Animation#getDelay
331331
* @since 3.4.0
332332
*
333333
* @return {integer} The amount of time, in milliseconds, the Animation will wait before starting playback.

src/physics/arcade/components/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
/**
8-
* @namespace Phaser.Physics.Arcade.Body.Components
8+
* @namespace Phaser.Physics.Arcade.Components
99
*/
1010

1111
module.exports = {

src/physics/impact/components/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
/**
8-
* @namespace Phaser.Physics.Impact.Body.Components
8+
* @namespace Phaser.Physics.Impact.Components
99
*/
1010

1111
module.exports = {

src/physics/matter-js/components/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
/**
8-
* @namespace Phaser.Physics.Matter.Body.Components
8+
* @namespace Phaser.Physics.Matter.Components
99
*/
1010

1111
module.exports = {

src/scene/Settings.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ var GetValue = require('../utils/object/GetValue');
99
var Merge = require('../utils/object/Merge');
1010
var InjectionMap = require('./InjectionMap');
1111

12-
// TODO 22/03/2018 Fix "plugins" type
12+
/**
13+
* @namespace Phaser.Scenes.Settings
14+
*/
1315

1416
/**
15-
* @typedef {object} SettingsConfig
17+
* @typedef {object} Phaser.Scenes.Settings.Config
1618
*
1719
* @property {string} [key] - [description]
1820
* @property {boolean} [active=false] - [description]
@@ -27,7 +29,7 @@ var InjectionMap = require('./InjectionMap');
2729
*/
2830

2931
/**
30-
* @typedef {object} SettingsObject
32+
* @typedef {object} Phaser.Scenes.Settings.Object
3133
*
3234
* @property {number} status - [description]
3335
* @property {string} key - [description]
@@ -55,9 +57,9 @@ var Settings = {
5557
* @function Phaser.Scenes.Settings.create
5658
* @since 3.0.0
5759
*
58-
* @param {(string|SettingsConfig)} config - [description]
60+
* @param {(string|Phaser.Scenes.SettingsConfig)} config - [description]
5961
*
60-
* @return {SettingsObject} [description]
62+
* @return {Phaser.Scenes.Settings.Object} [description]
6163
*/
6264
create: function (config)
6365
{

0 commit comments

Comments
 (0)