mol_plot_all 1.2.501 → 1.2.503
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.deps.json +1 -1
- package/node.esm.js +4 -0
- package/node.esm.js.map +1 -1
- package/node.js +4 -0
- package/node.js.map +1 -1
- package/node.test.js +4 -0
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.esm.js +4 -0
- package/web.esm.js.map +1 -1
- package/web.js +4 -0
- package/web.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -1521,10 +1521,13 @@ var $;
|
|
|
1521
1521
|
"use strict";
|
|
1522
1522
|
var $;
|
|
1523
1523
|
(function ($) {
|
|
1524
|
+
const named = new WeakSet();
|
|
1524
1525
|
function $mol_func_name(func) {
|
|
1525
1526
|
let name = func.name;
|
|
1526
1527
|
if (name?.length > 1)
|
|
1527
1528
|
return name;
|
|
1529
|
+
if (named.has(func))
|
|
1530
|
+
return name;
|
|
1528
1531
|
for (let key in this) {
|
|
1529
1532
|
try {
|
|
1530
1533
|
if (this[key] !== func)
|
|
@@ -1535,6 +1538,7 @@ var $;
|
|
|
1535
1538
|
}
|
|
1536
1539
|
catch { }
|
|
1537
1540
|
}
|
|
1541
|
+
named.add(func);
|
|
1538
1542
|
return name;
|
|
1539
1543
|
}
|
|
1540
1544
|
$.$mol_func_name = $mol_func_name;
|