mol_wire_dom 0.0.1489 → 0.0.1490

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.mjs CHANGED
@@ -201,7 +201,7 @@ var $;
201
201
  if (typeof val === 'function') {
202
202
  return $mol_dev_format_native(val);
203
203
  }
204
- if (Error.isError(val)) {
204
+ if (val instanceof Error) {
205
205
  return $mol_dev_format_span({}, $mol_dev_format_native(val), ' ', $mol_dev_format_button('throw', () => $mol_fail_hidden(val)));
206
206
  }
207
207
  if (val instanceof Promise) {
@@ -1207,7 +1207,7 @@ var $;
1207
1207
  var $;
1208
1208
  (function ($) {
1209
1209
  function $mol_log3_area_lazy(event) {
1210
- const self = this;
1210
+ const self = this.$;
1211
1211
  const stack = self.$mol_log3_stack;
1212
1212
  const deep = stack.length;
1213
1213
  let logged = false;
package/node.test.js CHANGED
@@ -192,7 +192,7 @@ var $;
192
192
  if (typeof val === 'function') {
193
193
  return $mol_dev_format_native(val);
194
194
  }
195
- if (Error.isError(val)) {
195
+ if (val instanceof Error) {
196
196
  return $mol_dev_format_span({}, $mol_dev_format_native(val), ' ', $mol_dev_format_button('throw', () => $mol_fail_hidden(val)));
197
197
  }
198
198
  if (val instanceof Promise) {
@@ -1198,7 +1198,7 @@ var $;
1198
1198
  var $;
1199
1199
  (function ($) {
1200
1200
  function $mol_log3_area_lazy(event) {
1201
- const self = this;
1201
+ const self = this.$;
1202
1202
  const stack = self.$mol_log3_stack;
1203
1203
  const deep = stack.length;
1204
1204
  let logged = false;