danoniplus 25.5.5 → 25.5.8

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 CHANGED
@@ -4,12 +4,12 @@
4
4
  *
5
5
  * Source by tickle
6
6
  * Created : 2018/10/08
7
- * Revised : 2022/02/16
7
+ * Revised : 2022/04/16
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 25.5.5`;
12
- const g_revisedDate = `2022/02/16`;
11
+ const g_version = `Ver 25.5.8`;
12
+ const g_revisedDate = `2022/04/16`;
13
13
  const g_alphaVersion = ``;
14
14
 
15
15
  // カスタム用バージョン (danoni_custom.js 等で指定可)
@@ -40,11 +40,11 @@ let g_localVersion2 = ``;
40
40
  */
41
41
  const current = _ => {
42
42
  if (document.currentScript) {
43
- return document.currentScript.src;
43
+ return encodeURI(document.currentScript.src);
44
44
  }
45
45
  const scripts = document.getElementsByTagName(`script`);
46
46
  const targetScript = scripts[scripts.length - 1];
47
- return targetScript.src;
47
+ return encodeURI(targetScript.src);
48
48
  };
49
49
  const g_rootPath = current().match(/(^.*\/)/)[0];
50
50
  const g_remoteFlg = g_rootPath.match(`^https://cwtickle.github.io/danoniplus/`) !== null;
@@ -1356,7 +1356,7 @@ function loadDos(_afterFunc, _scoreId = g_stateObj.scoreId, _cyclicFlg = false)
1356
1356
  const externalDosInput = document.querySelector(`#externalDos`);
1357
1357
  const divRoot = document.querySelector(`#divRoot`);
1358
1358
  const queryDos = getQueryParamVal(`dos`) !== null ? `dos/${getQueryParamVal('dos')}.txt` :
1359
- (externalDosInput !== null ? externalDosInput.value : ``);
1359
+ encodeURI(externalDosInput !== null ? externalDosInput.value : ``);
1360
1360
 
1361
1361
  if (dosInput === null && queryDos === ``) {
1362
1362
  makeWarningWindow(g_msgInfoObj.E_0023);
@@ -5166,8 +5166,8 @@ function createLblSetting(_settingName, _adjY = 0, _settingLabel = _settingName)
5166
5166
  * @param {string} _name
5167
5167
  */
5168
5168
  function getStgDetailName(_name) {
5169
- return g_lblNameObj[`u_${_name}`] === undefined || typeof g_lblRenames !== C_TYP_OBJECT || !g_lblRenames[g_currentPage] ?
5170
- _name : g_lblNameObj[`u_${_name}`];
5169
+ return g_lblNameObj[`u_${_name}`] !== undefined && (typeof g_lblRenames !== C_TYP_OBJECT ||
5170
+ (typeof g_lblRenames === C_TYP_OBJECT && g_lblRenames[g_currentPage])) ? g_lblNameObj[`u_${_name}`] : _name;
5171
5171
  }
5172
5172
 
5173
5173
  /**
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Source by tickle
7
7
  * Created : 2019/11/19
8
- * Revised : 2022/01/26 (v25.5.1)
8
+ * Revised : 2022/04/16 (v25.5.8)
9
9
  *
10
10
  * https://github.com/cwtickle/danoniplus
11
11
  */
@@ -2203,11 +2203,19 @@ const g_keyObj = {
2203
2203
  'Left': [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
2204
2204
  'Right': [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
2205
2205
  },
2206
+ assistPos9A_4: {
2207
+ 'Left': [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
2208
+ 'Right': [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
2209
+ },
2206
2210
 
2207
2211
  assistPos11i_0: {
2208
2212
  'Left': [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
2209
2213
  'Right': [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
2210
2214
  },
2215
+ assistPos11i_1: {
2216
+ 'Left': [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
2217
+ 'Right': [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
2218
+ },
2211
2219
 
2212
2220
  assistPos17_0: {
2213
2221
  'Left': [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
- {
2
- "name": "danoniplus",
3
- "version": "25.5.5",
4
- "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/cwtickle/danoniplus.git"
12
- },
13
- "keywords": [
14
- "rhythm-game",
15
- "dancing-onigiri"
16
- ],
17
- "author": "tickle <quc_tickle@cw7.sakura.ne.jp> (https://github.com/cwtickle/)",
18
- "license": "MIT",
19
- "bugs": {
20
- "url": "https://github.com/cwtickle/danoniplus/issues"
21
- },
22
- "homepage": "https://github.com/cwtickle/danoniplus#readme"
1
+ {
2
+ "name": "danoniplus",
3
+ "version": "25.5.8",
4
+ "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/cwtickle/danoniplus.git"
12
+ },
13
+ "keywords": [
14
+ "rhythm-game",
15
+ "dancing-onigiri"
16
+ ],
17
+ "author": "tickle <quc_tickle@cw7.sakura.ne.jp> (https://github.com/cwtickle/)",
18
+ "license": "MIT",
19
+ "bugs": {
20
+ "url": "https://github.com/cwtickle/danoniplus/issues"
21
+ },
22
+ "homepage": "https://github.com/cwtickle/danoniplus#readme"
23
23
  }