Skip to content

Commit

Permalink
Merge branch 'release/v2.4.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
kobalab committed Nov 11, 2024
2 parents 6097e83 + b73ceec commit 0c0a471
Show file tree
Hide file tree
Showing 17 changed files with 43 additions and 28 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### v2.4.6 / 2024-11-11

- 牌譜ビューアがネット上の牌譜をロードするときにメッセージを表示するよう修正
- @kobalab/majiang-ui 1.4.5 → 1.4.6

### v2.4.5 / 2024-11-09

- 牌譜エディタの和了情報入力でドラの初期値にカンドラが含まれないバグを修正
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "majiang",
"version": "2.4.5",
"version": "2.4.6",
"description": "HTML5 + JavaScript で動作する麻雀アプリ「電脳麻将」",
"private": true,
"scripts": {
"build:html": "pug -o dist -P src/html/page/",
"build:css": "stylus src/css/index.styl -o dist/css/majiang-2.4.5.css",
"build:css": "stylus src/css/index.styl -o dist/css/majiang-2.4.6.css",
"build:js": "webpack --mode development --devtool inline-source-map",
"build": "npm run build:html && npm run build:css && npm run build:js",
"release": "npm run build:html && npm run build:css && webpack --mode production",
Expand Down Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@kobalab/majiang-ai": "^1.0.10",
"@kobalab/majiang-core": "^1.3.1",
"@kobalab/majiang-ui": "^1.4.5",
"@kobalab/majiang-ui": "^1.4.6",
"@kobalab/tenhou-url-log": "^1.0.2",
"jquery": "^3.7.1"
}
Expand Down
14 changes: 11 additions & 3 deletions src/css/file.styl
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,19 @@ body.file
input[name="room_no"]
width: 3em
.error
transition: opacity 0.5s
.loading
transition: opacity 0.5s ease-out
margin: 2px 0px
border-radius: 5px
border: solid 1px #f99
color: red
background: #fdd
padding: 4px 1em
font-family: menu-font
.error
color: red
background: #fdd
.loading
color: green
background: #cfc
border: solid 1px #090
.blink
animation: blink-text 2s infinite
2 changes: 2 additions & 0 deletions src/html/inc/file.pug
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@

if page == 'paipu'
.error.hide
.loading.hide
.blink 牌譜取得中......
label.upload
img(src="img/icon-upload-alt.png")
| 牌譜追加
Expand Down
2 changes: 1 addition & 1 deletion src/html/inc/version.pug
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- var version = '2.4.5'
- var version = '2.4.6'
2 changes: 1 addition & 1 deletion src/js/autoplay.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 自動対戦 v2.4.5
* 電脳麻将: 自動対戦 v2.4.6
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/dapai.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 何切る解答機 v2.4.5
* 電脳麻将: 何切る解答機 v2.4.6
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/drill.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 点数計算ドリル v2.4.5
* 電脳麻将: 点数計算ドリル v2.4.6
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/hule.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 和了点計算 v2.4.5
* 電脳麻将: 和了点計算 v2.4.6
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将 v2.4.5
* 電脳麻将 v2.4.6
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
4 changes: 2 additions & 2 deletions src/js/majiang.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将 v2.4.5
* 電脳麻将 v2.4.6
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand All @@ -9,6 +9,6 @@
global.Majiang = require('@kobalab/majiang-core');
global.Majiang.AI = require('@kobalab/majiang-ai');
global.Majiang.UI = require('@kobalab/majiang-ui');
global.Majiang.VERSION = '2.4.5';
global.Majiang.VERSION = '2.4.6';
global.jQuery = require('jquery');
global.$ = jQuery;
2 changes: 1 addition & 1 deletion src/js/netplay.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: ネット対戦 v2.4.5
* 電脳麻将: ネット対戦 v2.4.6
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/paiga.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 牌画入力 v2.4.5
* 電脳麻将: 牌画入力 v2.4.6
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/paili.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 牌理 v2.4.5
* 電脳麻将: 牌理 v2.4.6
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/paipu.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 牌譜ビューア v2.4.5
* 電脳麻将: 牌譜ビューア v2.4.6
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/rule.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: ルール設定 v2.4.5
* 電脳麻将: ルール設定 v2.4.6
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down

0 comments on commit 0c0a471

Please sign in to comment.