mol_plot_all 1.2.290 → 1.2.293

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.test.js CHANGED
@@ -2351,7 +2351,7 @@ var $;
2351
2351
  return suffix;
2352
2352
  }
2353
2353
  $.$mol_view_state_key = $mol_view_state_key;
2354
- const error_shower = new WeakMap();
2354
+ const error_showed = new WeakMap();
2355
2355
  class $mol_view extends $mol_object {
2356
2356
  static Root(id) {
2357
2357
  return new this;
@@ -2495,14 +2495,14 @@ var $;
2495
2495
  $mol_dom_render_attributes(node, { mol_view_error: error.name || error.constructor.name });
2496
2496
  if (error instanceof Promise)
2497
2497
  return node;
2498
- if ((error_shower.get(error) ?? this) !== this)
2498
+ if ((error_showed.get(error) ?? this) !== this)
2499
2499
  return node;
2500
2500
  try {
2501
2501
  const message = error.message || error;
2502
2502
  node.innerText = message.replace(/^|$/mg, '\xA0\xA0');
2503
2503
  }
2504
2504
  catch { }
2505
- error_shower.set(error, this);
2505
+ error_showed.set(error, this);
2506
2506
  }
2507
2507
  return node;
2508
2508
  }