mol_wire_dom 0.0.1335 → 0.0.1336
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
@@ -665,7 +665,7 @@ var $;
|
|
665
665
|
return $mol_promise_like(this.cache);
|
666
666
|
}
|
667
667
|
field() {
|
668
|
-
return this.task.name + '
|
668
|
+
return this.task.name + '()';
|
669
669
|
}
|
670
670
|
constructor(id, task, host, args) {
|
671
671
|
super();
|
@@ -1756,18 +1756,18 @@ var $;
|
|
1756
1756
|
(function ($) {
|
1757
1757
|
class $mol_wire_atom extends $mol_wire_fiber {
|
1758
1758
|
static solo(host, task) {
|
1759
|
-
const field = task.name + '
|
1759
|
+
const field = task.name + '()';
|
1760
1760
|
const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
1761
1761
|
if (existen)
|
1762
1762
|
return existen;
|
1763
1763
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
1764
|
-
const key = prefix + ('.' +
|
1764
|
+
const key = prefix + ('.' + task.name + '<>');
|
1765
1765
|
const fiber = new $mol_wire_atom(key, task, host, []);
|
1766
1766
|
(host ?? task)[field] = fiber;
|
1767
1767
|
return fiber;
|
1768
1768
|
}
|
1769
1769
|
static plex(host, task, key) {
|
1770
|
-
const field = task.name + '
|
1770
|
+
const field = task.name + '()';
|
1771
1771
|
let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
1772
1772
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
1773
1773
|
const key_str = $mol_key(key);
|