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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_jsx_lib",
3
- "version": "0.0.59",
3
+ "version": "0.0.60",
4
4
  "main": "node.js",
5
5
  "module": "node.esm.js",
6
6
  "browser": "web.js",
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(/([^ ]+)/, `$1_${id}`) : $.$mol_jsx_crumbs;
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)}`));