mol_jsx_lib 0.0.100 → 0.0.103
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.deps.json +1 -1
- package/node.esm.js +10 -5
- package/node.esm.js.map +1 -1
- package/node.js +10 -5
- package/node.js.map +1 -1
- package/node.test.js +10 -5
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.esm.js +10 -5
- package/web.esm.js.map +1 -1
- package/web.js +10 -5
- package/web.js.map +1 -1
package/web.js
CHANGED
|
@@ -898,10 +898,10 @@ var $;
|
|
|
898
898
|
}
|
|
899
899
|
[$mol_dev_format_head]() {
|
|
900
900
|
const cursor = {
|
|
901
|
-
[
|
|
902
|
-
[
|
|
903
|
-
[
|
|
904
|
-
[
|
|
901
|
+
[$mol_wire_cursor.stale]: '🔴',
|
|
902
|
+
[$mol_wire_cursor.doubt]: '🟡',
|
|
903
|
+
[$mol_wire_cursor.fresh]: '🟢',
|
|
904
|
+
[$mol_wire_cursor.final]: '🔵',
|
|
905
905
|
}[this.cursor] ?? this.cursor.toString();
|
|
906
906
|
return $mol_dev_format_div({}, $mol_dev_format_native(this), $mol_dev_format_shade(cursor + ' '), $mol_dev_format_auto(this.cache));
|
|
907
907
|
}
|
|
@@ -1549,10 +1549,15 @@ var $;
|
|
|
1549
1549
|
var $;
|
|
1550
1550
|
(function ($) {
|
|
1551
1551
|
function $mol_wire_solid() {
|
|
1552
|
-
$mol_wire_auto()
|
|
1552
|
+
const current = $mol_wire_auto();
|
|
1553
|
+
if (current.reap !== nothing) {
|
|
1554
|
+
current?.sub_on(sub, sub.data.length);
|
|
1555
|
+
}
|
|
1556
|
+
current.reap = nothing;
|
|
1553
1557
|
}
|
|
1554
1558
|
$.$mol_wire_solid = $mol_wire_solid;
|
|
1555
1559
|
const nothing = () => { };
|
|
1560
|
+
const sub = new $mol_wire_pub_sub;
|
|
1556
1561
|
})($ || ($ = {}));
|
|
1557
1562
|
//mol/wire/solid/solid.ts
|
|
1558
1563
|
;
|