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.
- package/package.json +1 -1
- package/src/Main.mjs +4 -3
package/package.json
CHANGED
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 {
|
123
|
+
* @param {Object} data
|
124
|
+
* @param {String} data.message
|
124
125
|
*/
|
125
|
-
alert(
|
126
|
-
alert(
|
126
|
+
alert(data) {
|
127
|
+
alert(data.message);
|
127
128
|
}
|
128
129
|
|
129
130
|
/**
|