Skip to content

Commit 47077ea

Browse files
committed
We don't need the key, so remove it.
1 parent 4959ed7 commit 47077ea

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

src/plugins/BasePlugin.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,8 @@ var BasePlugin = new Class({
2828

2929
initialize:
3030

31-
function BasePlugin (key, pluginManager)
31+
function BasePlugin (pluginManager)
3232
{
33-
/**
34-
* The unique (within this game instance) name of this plugin within the Plugin Manager.
35-
* This is set by the developer in their game config, although you should provide a default value.
36-
*
37-
* @name Phaser.Plugins.BasePlugin#key
38-
* @type {string}
39-
* @protected
40-
* @since 3.8.0
41-
*/
42-
this.key = key;
43-
4433
/**
4534
* A handy reference to the Plugin Manager that is responsible for this plugin.
4635
* Can be used as a route to gain access to game systems and events.

0 commit comments

Comments
 (0)