danoniplus 37.8.1 → 37.8.3

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.
@@ -2,7 +2,7 @@
2
2
  <html lang="ja">
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <script src="https://cwtickle.github.io/danoniplus/js/danoni_main.js" charset="UTF-8"></script>
5
+ <script src="https://support-v37--danoniplus.netlify.app/js/danoni_main.js" charset="UTF-8"></script>
6
6
 
7
7
  <title>Dancing★Onigiri Preview</title>
8
8
 
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/11/04
7
+ * Revised : 2024/11/27
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 37.8.1`;
12
- const g_revisedDate = `2024/11/04`;
11
+ const g_version = `Ver 37.8.3`;
12
+ const g_revisedDate = `2024/11/27`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -39,7 +39,8 @@ const current = () => {
39
39
  };
40
40
  const g_rootPath = current().match(/(^.*\/)/)[0];
41
41
  const g_workPath = new URL(location.href).href.match(/(^.*\/)/)[0];
42
- const g_remoteFlg = g_rootPath.match(`^https://cwtickle.github.io/danoniplus/`) !== null;
42
+ const g_remoteFlg = g_rootPath.match(`^https://cwtickle.github.io/danoniplus/`) !== null ||
43
+ g_rootPath.match(/danoniplus.netlify.app/) !== null;
43
44
  const g_randTime = Date.now();
44
45
  const g_isFile = location.href.match(/^file/);
45
46
  const g_isLocal = location.href.match(/^file/) || location.href.indexOf(`localhost`) !== -1;
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Source by tickle
7
7
  * Created : 2024/10/29
8
- * Revised : 2024/11/01 (v37.8.0)
8
+ * Revised : 2024/11/07 (v37.8.2)
9
9
  *
10
10
  * https://github.com/cwtickle/danoniplus
11
11
  */
@@ -37,7 +37,7 @@ const createColorObject = (_id, color, x, y, w, h, rotate = ``, styleName = ``)
37
37
  /** @deprecated */
38
38
  const createButton = (_obj, _func) => {
39
39
  const div = createCss2Button(_obj.id, _obj.name, _func, {
40
- x: _obj.x, y: _obj.y, w: _obj.w, h: _obj.h,
40
+ x: _obj.x, y: _obj.y, w: _obj.width, h: _obj.height,
41
41
  siz: _obj?.fontsize, align: _obj?.align, animationName: _obj?.animationName,
42
42
  backgroundColor: _obj?.normalColor,
43
43
  });
@@ -48,7 +48,7 @@ const createButton = (_obj, _func) => {
48
48
  /** @deprecated */
49
49
  const createCssButton = (_obj, _func) =>
50
50
  createCss2Button(_obj.id, _obj.name, _func, {
51
- x: _obj?.x, y: _obj?.y, w: _obj?.w, h: _obj?.h,
51
+ x: _obj?.x, y: _obj?.y, w: _obj?.width, h: _obj?.height,
52
52
  siz: _obj?.fontsize, align: _obj?.align, animationName: _obj?.animationName
53
53
  }, _obj?.class);
54
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "37.8.1",
3
+ "version": "37.8.3",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {