mol_wire_lib 1.0.533 → 1.0.535

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/web.test.js CHANGED
@@ -234,7 +234,7 @@ var $;
234
234
  }
235
235
  if (typeof Elem !== 'string') {
236
236
  if ('prototype' in Elem) {
237
- const view = node && node[Elem] || new Elem;
237
+ const view = node && node[String(Elem)] || new Elem;
238
238
  Object.assign(view, props);
239
239
  view[Symbol.toStringTag] = guid;
240
240
  view.childNodes = childNodes;
@@ -242,7 +242,7 @@ var $;
242
242
  view.ownerDocument = $.$mol_jsx_document;
243
243
  view.className = (crumbs_self ? crumbs_self + ' ' : '') + (Elem['name'] || Elem);
244
244
  node = view.valueOf();
245
- node[Elem] = view;
245
+ node[String(Elem)] = view;
246
246
  return node;
247
247
  }
248
248
  else {