From 15abc3824a4befd993795c1cd028fa10a3200063 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Thu, 9 May 2019 12:35:33 +0100 Subject: [PATCH] Plugins Types --- src/plugins/PluginCache.js | 4 ++-- src/plugins/PluginManager.js | 4 ++-- src/plugins/typedefs/CorePluginContainer.js | 2 +- src/plugins/typedefs/CustomPluginContainer.js | 2 +- src/plugins/typedefs/GlobalPlugin.js | 2 +- src/plugins/typedefs/index.js | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/plugins/PluginCache.js b/src/plugins/PluginCache.js index eb5bc4a6b..5e5e101b6 100644 --- a/src/plugins/PluginCache.js +++ b/src/plugins/PluginCache.js @@ -94,7 +94,7 @@ PluginCache.hasCustom = function (key) * * @param {string} key - The key of the core plugin to get. * - * @return {Phaser.Plugins.Types.CorePluginContainer} The core plugin object. + * @return {Phaser.Types.Plugins.CorePluginContainer} The core plugin object. */ PluginCache.getCore = function (key) { @@ -109,7 +109,7 @@ PluginCache.getCore = function (key) * * @param {string} key - The key of the custom plugin to get. * - * @return {Phaser.Plugins.Types.CustomPluginContainer} The custom plugin object. + * @return {Phaser.Types.Plugins.CustomPluginContainer} The custom plugin object. */ PluginCache.getCustom = function (key) { diff --git a/src/plugins/PluginManager.js b/src/plugins/PluginManager.js index 96519016e..ed5007bcf 100644 --- a/src/plugins/PluginManager.js +++ b/src/plugins/PluginManager.js @@ -79,7 +79,7 @@ var PluginManager = new Class({ * A plugin must have been started at least once in order to appear in this list. * * @name Phaser.Plugins.PluginManager#plugins - * @type {Phaser.Plugins.Types.GlobalPlugin[]} + * @type {Phaser.Types.Plugins.GlobalPlugin[]} * @since 3.8.0 */ this.plugins = []; @@ -486,7 +486,7 @@ var PluginManager = new Class({ * * @param {string} key - The unique plugin key. * - * @return {Phaser.Plugins.Types.GlobalPlugin} The plugin entry. + * @return {Phaser.Types.Plugins.GlobalPlugin} The plugin entry. */ getEntry: function (key) { diff --git a/src/plugins/typedefs/CorePluginContainer.js b/src/plugins/typedefs/CorePluginContainer.js index dbec4d67b..a9641f121 100644 --- a/src/plugins/typedefs/CorePluginContainer.js +++ b/src/plugins/typedefs/CorePluginContainer.js @@ -1,5 +1,5 @@ /** - * @typedef {object} Phaser.Plugins.Types.CorePluginContainer + * @typedef {object} Phaser.Types.Plugins.CorePluginContainer * @since 3.8.0 * * @property {string} key - The unique name of this plugin in the core plugin cache. diff --git a/src/plugins/typedefs/CustomPluginContainer.js b/src/plugins/typedefs/CustomPluginContainer.js index b57f30a13..5d602b965 100644 --- a/src/plugins/typedefs/CustomPluginContainer.js +++ b/src/plugins/typedefs/CustomPluginContainer.js @@ -1,5 +1,5 @@ /** - * @typedef {object} Phaser.Plugins.Types.CustomPluginContainer + * @typedef {object} Phaser.Types.Plugins.CustomPluginContainer * @since 3.8.0 * * @property {string} key - The unique name of this plugin in the custom plugin cache. diff --git a/src/plugins/typedefs/GlobalPlugin.js b/src/plugins/typedefs/GlobalPlugin.js index 39c48cff3..62378351e 100644 --- a/src/plugins/typedefs/GlobalPlugin.js +++ b/src/plugins/typedefs/GlobalPlugin.js @@ -1,5 +1,5 @@ /** - * @typedef {object} Phaser.Plugins.Types.GlobalPlugin + * @typedef {object} Phaser.Types.Plugins.GlobalPlugin * @since 3.0.0 * * @property {string} key - The unique name of this plugin within the plugin cache. diff --git a/src/plugins/typedefs/index.js b/src/plugins/typedefs/index.js index 89050c320..3b0440d4a 100644 --- a/src/plugins/typedefs/index.js +++ b/src/plugins/typedefs/index.js @@ -5,5 +5,5 @@ */ /** - * @namespace Phaser.Plugins.Types + * @namespace Phaser.Types.Plugins */