mol_jsx_lib 0.0.59 → 0.0.60
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.esm.js +1 -1
- package/node.esm.js.map +1 -1
- package/node.js +1 -1
- package/node.js.map +1 -1
- package/node.test.js +5 -3
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.esm.js +1 -1
- package/web.esm.js.map +1 -1
- package/web.js +1 -1
- package/web.js.map +1 -1
- package/web.test.js +4 -2
- package/web.test.js.map +1 -1
package/package.json
CHANGED
package/web.esm.js
CHANGED
|
@@ -153,7 +153,7 @@ var $;
|
|
|
153
153
|
function $mol_jsx(Elem, props, ...childNodes) {
|
|
154
154
|
const id = props && props.id || '';
|
|
155
155
|
const guid = id ? $.$mol_jsx_prefix ? $.$mol_jsx_prefix + '/' + id : id : $.$mol_jsx_prefix;
|
|
156
|
-
const crumbs_self = id ? $.$mol_jsx_crumbs.replace(/(
|
|
156
|
+
const crumbs_self = id ? $.$mol_jsx_crumbs.replace(/(\S+)/g, `$1_${id}`) : $.$mol_jsx_crumbs;
|
|
157
157
|
if (Elem && $.$mol_jsx_booked) {
|
|
158
158
|
if ($.$mol_jsx_booked.has(id)) {
|
|
159
159
|
$mol_fail(new Error(`JSX already has tag with id ${JSON.stringify(guid)}`));
|