@mapcatch/util 1.0.13 → 1.0.14-a
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/CHANGELOG.md +5 -1
- package/dist/catchUtil.min.esm.js +7 -7
- package/dist/catchUtil.min.js +1 -1
- package/package.json +1 -1
- package/src/util.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -49080,13 +49080,13 @@ function L3(T, E = 12) {
|
|
|
49080
49080
|
};
|
|
49081
49081
|
}
|
|
49082
49082
|
function aM(T, E) {
|
|
49083
|
-
E.forEach((a) => {
|
|
49084
|
-
T.loadImage(a, (
|
|
49085
|
-
let
|
|
49086
|
-
if (!T.hasImage(
|
|
49087
|
-
if (
|
|
49088
|
-
throw
|
|
49089
|
-
T.addImage(t,
|
|
49083
|
+
E.forEach(({ url: a, sdf: r }) => {
|
|
49084
|
+
T.loadImage(a, (i, t) => {
|
|
49085
|
+
let n = a.split("/").pop().split(".")[0];
|
|
49086
|
+
if (!T.hasImage(n)) {
|
|
49087
|
+
if (i)
|
|
49088
|
+
throw i;
|
|
49089
|
+
T.addImage(n, t, { sdf: r });
|
|
49090
49090
|
}
|
|
49091
49091
|
});
|
|
49092
49092
|
});
|