mol_plot_all 1.2.509 → 1.2.511
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.esm.js +3 -3
- package/node.esm.js.map +1 -1
- package/node.js +3 -3
- package/node.js.map +1 -1
- package/node.test.js +3 -3
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.esm.js +3 -3
- package/web.esm.js.map +1 -1
- package/web.js +3 -3
- package/web.js.map +1 -1
package/web.js
CHANGED
|
@@ -1295,15 +1295,15 @@ var $;
|
|
|
1295
1295
|
"use strict";
|
|
1296
1296
|
var $;
|
|
1297
1297
|
(function ($) {
|
|
1298
|
-
const
|
|
1298
|
+
const catched = new WeakMap();
|
|
1299
1299
|
function $mol_fail_catch(error) {
|
|
1300
1300
|
if (typeof error !== 'object')
|
|
1301
1301
|
return false;
|
|
1302
1302
|
if (error instanceof Promise)
|
|
1303
1303
|
$mol_fail_hidden(error);
|
|
1304
|
-
if (
|
|
1304
|
+
if (catched.get(error))
|
|
1305
1305
|
return false;
|
|
1306
|
-
|
|
1306
|
+
catched.set(error, true);
|
|
1307
1307
|
return true;
|
|
1308
1308
|
}
|
|
1309
1309
|
$.$mol_fail_catch = $mol_fail_catch;
|