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.mjs
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);
|
package/node.test.js
CHANGED
@@ -656,7 +656,7 @@ var $;
|
|
656
656
|
return $mol_promise_like(this.cache);
|
657
657
|
}
|
658
658
|
field() {
|
659
|
-
return this.task.name + '
|
659
|
+
return this.task.name + '()';
|
660
660
|
}
|
661
661
|
constructor(id, task, host, args) {
|
662
662
|
super();
|
@@ -1747,18 +1747,18 @@ var $;
|
|
1747
1747
|
(function ($) {
|
1748
1748
|
class $mol_wire_atom extends $mol_wire_fiber {
|
1749
1749
|
static solo(host, task) {
|
1750
|
-
const field = task.name + '
|
1750
|
+
const field = task.name + '()';
|
1751
1751
|
const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
1752
1752
|
if (existen)
|
1753
1753
|
return existen;
|
1754
1754
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
1755
|
-
const key = prefix + ('.' +
|
1755
|
+
const key = prefix + ('.' + task.name + '<>');
|
1756
1756
|
const fiber = new $mol_wire_atom(key, task, host, []);
|
1757
1757
|
(host ?? task)[field] = fiber;
|
1758
1758
|
return fiber;
|
1759
1759
|
}
|
1760
1760
|
static plex(host, task, key) {
|
1761
|
-
const field = task.name + '
|
1761
|
+
const field = task.name + '()';
|
1762
1762
|
let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
1763
1763
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
1764
1764
|
const key_str = $mol_key(key);
|