Skip to content

Commit 15abc38

Browse files
committed
Plugins Types
1 parent 6955507 commit 15abc38

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/plugins/PluginCache.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ PluginCache.hasCustom = function (key)
9494
*
9595
* @param {string} key - The key of the core plugin to get.
9696
*
97-
* @return {Phaser.Plugins.Types.CorePluginContainer} The core plugin object.
97+
* @return {Phaser.Types.Plugins.CorePluginContainer} The core plugin object.
9898
*/
9999
PluginCache.getCore = function (key)
100100
{
@@ -109,7 +109,7 @@ PluginCache.getCore = function (key)
109109
*
110110
* @param {string} key - The key of the custom plugin to get.
111111
*
112-
* @return {Phaser.Plugins.Types.CustomPluginContainer} The custom plugin object.
112+
* @return {Phaser.Types.Plugins.CustomPluginContainer} The custom plugin object.
113113
*/
114114
PluginCache.getCustom = function (key)
115115
{

src/plugins/PluginManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ var PluginManager = new Class({
7979
* A plugin must have been started at least once in order to appear in this list.
8080
*
8181
* @name Phaser.Plugins.PluginManager#plugins
82-
* @type {Phaser.Plugins.Types.GlobalPlugin[]}
82+
* @type {Phaser.Types.Plugins.GlobalPlugin[]}
8383
* @since 3.8.0
8484
*/
8585
this.plugins = [];
@@ -486,7 +486,7 @@ var PluginManager = new Class({
486486
*
487487
* @param {string} key - The unique plugin key.
488488
*
489-
* @return {Phaser.Plugins.Types.GlobalPlugin} The plugin entry.
489+
* @return {Phaser.Types.Plugins.GlobalPlugin} The plugin entry.
490490
*/
491491
getEntry: function (key)
492492
{

src/plugins/typedefs/CorePluginContainer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @typedef {object} Phaser.Plugins.Types.CorePluginContainer
2+
* @typedef {object} Phaser.Types.Plugins.CorePluginContainer
33
* @since 3.8.0
44
*
55
* @property {string} key - The unique name of this plugin in the core plugin cache.

src/plugins/typedefs/CustomPluginContainer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @typedef {object} Phaser.Plugins.Types.CustomPluginContainer
2+
* @typedef {object} Phaser.Types.Plugins.CustomPluginContainer
33
* @since 3.8.0
44
*
55
* @property {string} key - The unique name of this plugin in the custom plugin cache.

src/plugins/typedefs/GlobalPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @typedef {object} Phaser.Plugins.Types.GlobalPlugin
2+
* @typedef {object} Phaser.Types.Plugins.GlobalPlugin
33
* @since 3.0.0
44
*
55
* @property {string} key - The unique name of this plugin within the plugin cache.

src/plugins/typedefs/index.js

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

77
/**
8-
* @namespace Phaser.Plugins.Types
8+
* @namespace Phaser.Types.Plugins
99
*/

0 commit comments

Comments
 (0)