neo.mjs 4.0.93 → 4.0.94

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Main.mjs +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "4.0.93",
3
+ "version": "4.0.94",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {
package/src/Main.mjs CHANGED
@@ -120,10 +120,11 @@ class Main extends core.Base {
120
120
 
121
121
  /**
122
122
  * Workers can not trigger alert(), so we need remote method access.
123
- * @param {String} value
123
+ * @param {Object} data
124
+ * @param {String} data.message
124
125
  */
125
- alert(value) {
126
- alert(value);
126
+ alert(data) {
127
+ alert(data.message);
127
128
  }
128
129
 
129
130
  /**