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/node.d.ts +1 -1
- package/node.deps.json +1 -1
- package/node.js +5 -2
- package/node.js.map +1 -1
- package/node.mjs +5 -2
- package/node.mjs.map +1 -1
- package/node.test.js +5 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -1
- package/web.deps.json +1 -1
- package/web.js +5 -2
- package/web.js.map +1 -1
- package/web.mjs +5 -2
- package/web.mjs.map +1 -1
package/node.test.js
CHANGED
|
@@ -2089,11 +2089,14 @@ var $;
|
|
|
2089
2089
|
"use strict";
|
|
2090
2090
|
var $;
|
|
2091
2091
|
(function ($) {
|
|
2092
|
-
function $mol_wire_probe(task,
|
|
2092
|
+
function $mol_wire_probe(task, def) {
|
|
2093
2093
|
const warm = $mol_wire_fiber.warm;
|
|
2094
2094
|
try {
|
|
2095
2095
|
$mol_wire_fiber.warm = false;
|
|
2096
|
-
|
|
2096
|
+
const res = task();
|
|
2097
|
+
if (res === undefined)
|
|
2098
|
+
return def;
|
|
2099
|
+
return res;
|
|
2097
2100
|
}
|
|
2098
2101
|
finally {
|
|
2099
2102
|
$mol_wire_fiber.warm = warm;
|