mol_jsx_lib 0.0.1216 → 0.0.1218
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/node.js +4 -4
- package/node.js.map +1 -1
- package/node.mjs +4 -4
- package/node.test.js +4 -4
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.js +4 -4
- package/web.js.map +1 -1
- package/web.mjs +4 -4
package/node.js
CHANGED
|
@@ -847,7 +847,7 @@ var $;
|
|
|
847
847
|
return $mol_promise_like(this.cache);
|
|
848
848
|
}
|
|
849
849
|
field() {
|
|
850
|
-
return this.task.name + '
|
|
850
|
+
return this.task.name + '()';
|
|
851
851
|
}
|
|
852
852
|
constructor(id, task, host, args) {
|
|
853
853
|
super();
|
|
@@ -2321,18 +2321,18 @@ var $;
|
|
|
2321
2321
|
(function ($) {
|
|
2322
2322
|
class $mol_wire_atom extends $mol_wire_fiber {
|
|
2323
2323
|
static solo(host, task) {
|
|
2324
|
-
const field = task.name + '
|
|
2324
|
+
const field = task.name + '()';
|
|
2325
2325
|
const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
2326
2326
|
if (existen)
|
|
2327
2327
|
return existen;
|
|
2328
2328
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
2329
|
-
const key = prefix + ('.' +
|
|
2329
|
+
const key = prefix + ('.' + task.name + '<>');
|
|
2330
2330
|
const fiber = new $mol_wire_atom(key, task, host, []);
|
|
2331
2331
|
(host ?? task)[field] = fiber;
|
|
2332
2332
|
return fiber;
|
|
2333
2333
|
}
|
|
2334
2334
|
static plex(host, task, key) {
|
|
2335
|
-
const field = task.name + '
|
|
2335
|
+
const field = task.name + '()';
|
|
2336
2336
|
let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
2337
2337
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
2338
2338
|
const key_str = $mol_key(key);
|