mol_plot_all 1.2.604 → 1.2.606

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
@@ -1530,11 +1530,14 @@ var $;
1530
1530
  "use strict";
1531
1531
  var $;
1532
1532
  (function ($) {
1533
- function $mol_wire_probe(task, next) {
1533
+ function $mol_wire_probe(task, def) {
1534
1534
  const warm = $mol_wire_fiber.warm;
1535
1535
  try {
1536
1536
  $mol_wire_fiber.warm = false;
1537
- return task();
1537
+ const res = task();
1538
+ if (res === undefined)
1539
+ return def;
1540
+ return res;
1538
1541
  }
1539
1542
  finally {
1540
1543
  $mol_wire_fiber.warm = warm;