mol_jsx_lib 0.0.707 → 0.0.709
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
|
@@ -2303,7 +2303,9 @@ var $;
|
|
|
2303
2303
|
var $;
|
|
2304
2304
|
(function ($) {
|
|
2305
2305
|
function $mol_wire_solid() {
|
|
2306
|
-
|
|
2306
|
+
let current = $mol_wire_auto();
|
|
2307
|
+
if (current.temp)
|
|
2308
|
+
current = current.host;
|
|
2307
2309
|
if (current.reap !== nothing) {
|
|
2308
2310
|
current?.sub_on(sub, sub.data.length);
|
|
2309
2311
|
}
|
package/node.test.js
CHANGED
|
@@ -2295,7 +2295,9 @@ var $;
|
|
|
2295
2295
|
var $;
|
|
2296
2296
|
(function ($) {
|
|
2297
2297
|
function $mol_wire_solid() {
|
|
2298
|
-
|
|
2298
|
+
let current = $mol_wire_auto();
|
|
2299
|
+
if (current.temp)
|
|
2300
|
+
current = current.host;
|
|
2299
2301
|
if (current.reap !== nothing) {
|
|
2300
2302
|
current?.sub_on(sub, sub.data.length);
|
|
2301
2303
|
}
|
|
@@ -2924,7 +2926,7 @@ var $;
|
|
|
2924
2926
|
for (let i = 1; i < args.length; ++i) {
|
|
2925
2927
|
if ($mol_compare_deep(args[0], args[i]))
|
|
2926
2928
|
continue;
|
|
2927
|
-
if (args[0] instanceof Element && args[i] instanceof Element && args[0].outerHTML === args[i].outerHTML)
|
|
2929
|
+
if (args[0] instanceof $mol_dom_context.Element && args[i] instanceof $mol_dom_context.Element && args[0].outerHTML === args[i].outerHTML)
|
|
2928
2930
|
continue;
|
|
2929
2931
|
return $mol_fail(new Error(`args[0] ≠ args[${i}]\n${print(args[0])}\n---\n${print(args[i])}`));
|
|
2930
2932
|
}
|