mol_jsx_lib 0.0.1370 → 0.0.1371

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.mjs CHANGED
@@ -599,7 +599,7 @@ var $;
599
599
  if (typeof val === 'function') {
600
600
  return $mol_dev_format_native(val);
601
601
  }
602
- if (Error.isError(val)) {
602
+ if (val instanceof Error) {
603
603
  return $mol_dev_format_span({}, $mol_dev_format_native(val), ' ', $mol_dev_format_button('throw', () => $mol_fail_hidden(val)));
604
604
  }
605
605
  if (val instanceof Promise) {
@@ -1443,7 +1443,7 @@ var $;
1443
1443
  var $;
1444
1444
  (function ($) {
1445
1445
  function $mol_log3_area_lazy(event) {
1446
- const self = this;
1446
+ const self = this.$;
1447
1447
  const stack = self.$mol_log3_stack;
1448
1448
  const deep = stack.length;
1449
1449
  let logged = false;