mol_wire_lib 1.0.840 → 1.0.841
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.js +3 -1
- package/node.js.map +1 -1
- package/node.mjs +3 -1
- package/node.test.js +4 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +3 -1
- package/web.js.map +1 -1
- package/web.mjs +3 -1
- package/web.test.js +1 -1
- package/web.test.js.map +1 -1
package/node.mjs
CHANGED
|
@@ -1830,7 +1830,9 @@ var $;
|
|
|
1830
1830
|
var $;
|
|
1831
1831
|
(function ($) {
|
|
1832
1832
|
function $mol_wire_solid() {
|
|
1833
|
-
|
|
1833
|
+
let current = $mol_wire_auto();
|
|
1834
|
+
if (current.temp)
|
|
1835
|
+
current = current.host;
|
|
1834
1836
|
if (current.reap !== nothing) {
|
|
1835
1837
|
current?.sub_on(sub, sub.data.length);
|
|
1836
1838
|
}
|
package/node.test.js
CHANGED
|
@@ -1822,7 +1822,9 @@ var $;
|
|
|
1822
1822
|
var $;
|
|
1823
1823
|
(function ($) {
|
|
1824
1824
|
function $mol_wire_solid() {
|
|
1825
|
-
|
|
1825
|
+
let current = $mol_wire_auto();
|
|
1826
|
+
if (current.temp)
|
|
1827
|
+
current = current.host;
|
|
1826
1828
|
if (current.reap !== nothing) {
|
|
1827
1829
|
current?.sub_on(sub, sub.data.length);
|
|
1828
1830
|
}
|
|
@@ -3359,7 +3361,7 @@ var $;
|
|
|
3359
3361
|
for (let i = 1; i < args.length; ++i) {
|
|
3360
3362
|
if ($mol_compare_deep(args[0], args[i]))
|
|
3361
3363
|
continue;
|
|
3362
|
-
if (args[0] instanceof Element && args[i] instanceof Element && args[0].outerHTML === args[i].outerHTML)
|
|
3364
|
+
if (args[0] instanceof $mol_dom_context.Element && args[i] instanceof $mol_dom_context.Element && args[0].outerHTML === args[i].outerHTML)
|
|
3363
3365
|
continue;
|
|
3364
3366
|
return $mol_fail(new Error(`args[0] ≠ args[${i}]\n${print(args[0])}\n---\n${print(args[i])}`));
|
|
3365
3367
|
}
|