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/package.json
CHANGED
package/web.js
CHANGED
|
@@ -895,7 +895,7 @@ var $;
|
|
|
895
895
|
return $mol_promise_like(this.cache);
|
|
896
896
|
}
|
|
897
897
|
field() {
|
|
898
|
-
return this.task.name + '
|
|
898
|
+
return this.task.name + '()';
|
|
899
899
|
}
|
|
900
900
|
constructor(id, task, host, args) {
|
|
901
901
|
super();
|
|
@@ -1531,18 +1531,18 @@ var $;
|
|
|
1531
1531
|
(function ($) {
|
|
1532
1532
|
class $mol_wire_atom extends $mol_wire_fiber {
|
|
1533
1533
|
static solo(host, task) {
|
|
1534
|
-
const field = task.name + '
|
|
1534
|
+
const field = task.name + '()';
|
|
1535
1535
|
const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1536
1536
|
if (existen)
|
|
1537
1537
|
return existen;
|
|
1538
1538
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1539
|
-
const key = prefix + ('.' +
|
|
1539
|
+
const key = prefix + ('.' + task.name + '<>');
|
|
1540
1540
|
const fiber = new $mol_wire_atom(key, task, host, []);
|
|
1541
1541
|
(host ?? task)[field] = fiber;
|
|
1542
1542
|
return fiber;
|
|
1543
1543
|
}
|
|
1544
1544
|
static plex(host, task, key) {
|
|
1545
|
-
const field = task.name + '
|
|
1545
|
+
const field = task.name + '()';
|
|
1546
1546
|
let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1547
1547
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1548
1548
|
const key_str = $mol_key(key);
|