danoniplus 29.4.12 → 29.4.14
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/js/danoni_main.js +6 -6
- package/package.json +1 -1
- package/skin/skin_css.zip +0 -0
package/js/danoni_main.js
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Source by tickle
|
|
6
6
|
* Created : 2018/10/08
|
|
7
|
-
* Revised : 2024/
|
|
7
|
+
* Revised : 2024/09/25
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 29.4.
|
|
12
|
-
const g_revisedDate = `2024/
|
|
11
|
+
const g_version = `Ver 29.4.14`;
|
|
12
|
+
const g_revisedDate = `2024/09/25`;
|
|
13
13
|
const g_alphaVersion = ``;
|
|
14
14
|
|
|
15
15
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
@@ -384,9 +384,9 @@ const fuzzyListMatching = (_str, _headerList, _footerList) =>
|
|
|
384
384
|
* @param {array} _pairs
|
|
385
385
|
*/
|
|
386
386
|
const replaceStr = (_str, _pairs) => {
|
|
387
|
-
let tmpStr = _str
|
|
387
|
+
let tmpStr = _str || ``;
|
|
388
388
|
_pairs.forEach(pair => {
|
|
389
|
-
tmpStr = tmpStr.
|
|
389
|
+
tmpStr = tmpStr.split(pair[0]).join(pair[1]);
|
|
390
390
|
});
|
|
391
391
|
return tmpStr;
|
|
392
392
|
};
|
|
@@ -3073,7 +3073,7 @@ const updateImgType = _imgType => {
|
|
|
3073
3073
|
resetImgs(_imgType.name, _imgType.extension);
|
|
3074
3074
|
reloadImgObj();
|
|
3075
3075
|
Object.keys(g_imgObj).forEach(key => g_imgObj[key] = `${g_rootPath}${g_imgObj[key]}`);
|
|
3076
|
-
if (_imgType
|
|
3076
|
+
if (_imgType.extension === undefined && g_presetObj.overrideExtension !== undefined) {
|
|
3077
3077
|
Object.keys(g_imgObj).forEach(key => g_imgObj[key] = `${g_imgObj[key].slice(0, -3)}${g_presetObj.overrideExtension}`);
|
|
3078
3078
|
}
|
|
3079
3079
|
if (!g_isFile) {
|
package/package.json
CHANGED
package/skin/skin_css.zip
DELETED
|
Binary file
|