@melonjs/debug-plugin 14.4.4 → 14.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,13 +10,12 @@ Installation
10
10
  Then import and instantiante the debug plugin in your project. For example:
11
11
  ```JavaScript
12
12
  import { utils, plugin } from 'melonjs';
13
- // initialize the debug plugin in development mode.
14
- if (typeof process !== "undefined" && process.env.NODE_ENV === 'development') {
15
- import("melonjs-debug-plugin.js").then((debugPlugin) => {
16
- // automatically register the debug panel
17
- utils.function.defer(plugin.register, this, debugPlugin.DebugPanelPlugin, "debugPanel");
18
- });
19
- }
13
+
14
+ // dynamically import the plugin
15
+ import("@melonjs/debug-plugin").then((debugPlugin) => {
16
+ // automatically register the debug panel
17
+ utils.function.defer(plugin.register, this, debugPlugin.DebugPanelPlugin, "debugPanel");
18
+ });
20
19
  ```
21
20
 
22
21
  Usage
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * melonJS debug plugin - v14.4.4
2
+ * melonJS debug plugin - v14.4.6
3
3
  * http://www.melonjs.org
4
4
  * @melonjs/debug-plugin is licensed under the MIT License.
5
5
  * http://www.opensource.org/licenses/mit-license
@@ -71,7 +71,7 @@ class DebugPanel extends Renderable {
71
71
  this.name = "debugPanel";
72
72
 
73
73
  // the debug panel version
74
- this.version = "14.4.4";
74
+ this.version = "14.4.6";
75
75
 
76
76
  // persistent
77
77
  this.isPersistent = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melonjs/debug-plugin",
3
- "version": "14.4.4",
3
+ "version": "14.4.6",
4
4
  "description": "melonJS debug plugin",
5
5
  "type": "module",
6
6
  "keywords": [