mol_plot_all 1.2.55 → 1.2.56
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.test.js +9 -4
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +9 -4
- package/web.test.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -5997,7 +5997,7 @@ var $;
|
|
|
5997
5997
|
$.$mol_jsx_booked = null;
|
|
5998
5998
|
$.$mol_jsx_document = {
|
|
5999
5999
|
getElementById: () => null,
|
|
6000
|
-
|
|
6000
|
+
createElementNS: (space, name) => $.$mol_dom_context.document.createElementNS(space, name),
|
|
6001
6001
|
createDocumentFragment: () => $.$mol_dom_context.document.createDocumentFragment(),
|
|
6002
6002
|
};
|
|
6003
6003
|
$.$mol_jsx_frag = '';
|
|
@@ -6039,8 +6039,11 @@ var $;
|
|
|
6039
6039
|
}
|
|
6040
6040
|
}
|
|
6041
6041
|
}
|
|
6042
|
-
if (!node)
|
|
6043
|
-
node = Elem
|
|
6042
|
+
if (!node) {
|
|
6043
|
+
node = Elem
|
|
6044
|
+
? $.$mol_jsx_document.createElementNS(props?.xmlns ?? 'http://www.w3.org/1999/xhtml', Elem)
|
|
6045
|
+
: $.$mol_jsx_document.createDocumentFragment();
|
|
6046
|
+
}
|
|
6044
6047
|
$.$mol_dom_render_children(node, [].concat(...childNodes));
|
|
6045
6048
|
if (!Elem)
|
|
6046
6049
|
return node;
|
|
@@ -6057,7 +6060,9 @@ var $;
|
|
|
6057
6060
|
continue;
|
|
6058
6061
|
}
|
|
6059
6062
|
}
|
|
6060
|
-
|
|
6063
|
+
else {
|
|
6064
|
+
node[key] = props[key];
|
|
6065
|
+
}
|
|
6061
6066
|
}
|
|
6062
6067
|
if (guid)
|
|
6063
6068
|
node.id = guid;
|