earthsdk3-assets 3.0.3 → 3.0.4
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.
|
Binary file
|
|
Binary file
|
package/earthsdk3-assets.js
CHANGED
|
@@ -24,7 +24,7 @@ function getNameAndExtFromFileName(fileName) {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
const
|
|
27
|
+
const _earthsdk3AssetsInit = () => {
|
|
28
28
|
window.ESSDK_ENV = window.ESSDK_ENV || {};
|
|
29
29
|
const currentScriptPath = document?.currentScript?.src; // 获取当前脚本路径
|
|
30
30
|
const [scriptDir, scriptFileName] = getDirAndFileNameFromPath(currentScriptPath) ?? ['', '']; // 获取脚本目录和文件名
|
|
@@ -40,4 +40,4 @@ const init = () => {
|
|
|
40
40
|
window.ESSDK_ENV[`${scriptName}-script-ext`] = scriptExt;// 设置脚本扩展名
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
_earthsdk3AssetsInit();
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/assets/status/warn.png
DELETED
|
Binary file
|