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/web.mjs
CHANGED
|
@@ -1379,7 +1379,9 @@ var $;
|
|
|
1379
1379
|
var $;
|
|
1380
1380
|
(function ($) {
|
|
1381
1381
|
function $mol_wire_solid() {
|
|
1382
|
-
|
|
1382
|
+
let current = $mol_wire_auto();
|
|
1383
|
+
if (current.temp)
|
|
1384
|
+
current = current.host;
|
|
1383
1385
|
if (current.reap !== nothing) {
|
|
1384
1386
|
current?.sub_on(sub, sub.data.length);
|
|
1385
1387
|
}
|
package/web.test.js
CHANGED
|
@@ -838,7 +838,7 @@ var $;
|
|
|
838
838
|
for (let i = 1; i < args.length; ++i) {
|
|
839
839
|
if ($mol_compare_deep(args[0], args[i]))
|
|
840
840
|
continue;
|
|
841
|
-
if (args[0] instanceof Element && args[i] instanceof Element && args[0].outerHTML === args[i].outerHTML)
|
|
841
|
+
if (args[0] instanceof $mol_dom_context.Element && args[i] instanceof $mol_dom_context.Element && args[0].outerHTML === args[i].outerHTML)
|
|
842
842
|
continue;
|
|
843
843
|
return $mol_fail(new Error(`args[0] ≠ args[${i}]\n${print(args[0])}\n---\n${print(args[i])}`));
|
|
844
844
|
}
|