Commit Graph

2504 Commits

Author SHA1 Message Date
lieren2023 97046e48bb
Add files via upload 2023-09-21 18:06:22 +08:00
Spmario233 8682cd0808 v1.10.1.0.1 metadata 2023-09-18 21:02:48 +08:00
Spmario233 b1bf033c36 update sp.js 2023-09-18 20:53:48 +08:00
Spmario233 e4e16f5eb9
Merge pull request #351 from lieren2023/lieren2023-patch-22
Minor fix2
2023-09-18 20:21:04 +08:00
Spmario233 9b4ba52efa
Merge pull request #349 from nofficalfs/PR-Multi-MaybeAll
[Multi] 近期问题的尝试修复
2023-09-18 20:20:41 +08:00
lieren2023 e91a589bc8
Minor fix
调整菜单显示开关顺序
2023-09-18 19:43:28 +08:00
Rintim 01044af931 [2023/09/18: ④] Revert. 2023-09-18 19:20:25 +08:00
Rintim 0be236560a [2023/09/18: ③] 2023-09-18 19:11:25 +08:00
Rintim 6b55691d39 [2023/09/18: ③] 2023-09-18 19:11:02 +08:00
Rintim 0a2ab57ab8 [2023/09/18: ③] 2023-09-18 18:49:56 +08:00
Spmario233 e530ae82b9
Revert "chooseToMove 拖拽+动画效果,手机版无法拖拽" 2023-09-18 18:42:20 +08:00
shijian 3f3763df3e chooseToMove 拖拽+动画效果,手机版无法拖拽 2023-09-18 18:23:53 +08:00
Spmario233 9f4aaa01d3 muniu icon 2023-09-18 17:50:25 +08:00
Rintim 9ac2a0b146 [2023/09/18: ③] Add prework.
New `game.import` uses `document.currentScript` to determine the code caller.

If the script is not `game.js`, we put the result to `_status` for `game.js` to wait, otherwise return the promise directly.
2023-09-18 17:49:05 +08:00
Spmario233 76e058159f
Merge pull request #346 from nofficalfs/PR-Experimentalize-Content
[Experimentalize] `parsex`支持更多参数
2023-09-18 16:34:19 +08:00
Rintim ee0bfc60a8 [2023/09/18: ②] Handle GeneratorFunction. 2023-09-18 16:06:58 +08:00
Spmario233 f6b368d785 v1.10.1 metadata 2023-09-18 13:53:42 +08:00
Spmario233 b0893eb3a6
Merge pull request #344 from nonameShijian/PR-Branch
fix bug
2023-09-18 13:21:52 +08:00
Spmario233 544fab6569 Update game.js 2023-09-18 13:16:08 +08:00
shijian 5af0d87194 modify Indent 2023-09-18 13:14:56 +08:00
shijian 8c528e52c4 fix bug, modify Indent 2023-09-18 13:13:08 +08:00
shijian 2094e90cec fix bug 2023-09-18 13:07:46 +08:00
Spmario233 28eb5a10d2 update sp.js 2023-09-18 13:00:04 +08:00
Rintim c7bf5c03f2 [2023/09/18: ①] Move content handle to `lib.init.parsex`. 2023-09-18 12:55:40 +08:00
Rintim 897f993409 [2023/09/18: ①] Move content handle to `lib.init.parsex`. 2023-09-18 12:43:49 +08:00
lieren2023 0b1f5c7d19
bug fix 2023-09-18 12:22:28 +08:00
lieren2023 9c86dcdc62
update pinyinjs.js 2023-09-18 12:06:33 +08:00
Rintim 09479829fd [2023/09/18: ①] Handle the array content. 2023-09-18 11:07:55 +08:00
Spmario233 9b08c5b684 Merge branch 'PR-Branch' of https://github.com/libccy/noname into PR-Branch 2023-09-18 10:51:46 +08:00
Spmario233 90974bf3d1
Merge pull request #342 from nofficalfs/PR-BugFix-IdentityGncNoModify
[BugFix] 一些玄学的遗留bug
2023-09-18 10:48:32 +08:00
Spmario233 bd0cfb2ba8
Merge pull request #341 from nonameShijian/PR-Branch
在初始化(新手教程)之前的菜单不进行懒加载,另添加导出扩展的私货,以及修改分享扩展后的链接地址,player.when
2023-09-18 10:48:20 +08:00
Rintim 3951791854 [2023/09/18: ①] Extend `Event#setContent`. 2023-09-18 10:37:59 +08:00
shijian cdd1403125 lib.element.player.when 2023-09-18 09:02:11 +08:00
Rintim 485c6222e0 fix async in identity. 2023-09-18 00:42:46 +08:00
Spmario233 decceeec89 minor fix 2023-09-18 00:12:51 +08:00
Spmario233 ff2c32277e dynamic range 2023-09-18 00:04:04 +08:00
Spmario233 03f21ad620 Romaji for Key characters 2023-09-17 22:36:19 +08:00
shijian 5f0a78bcd8 在初始化(新手教程)之前的菜单不进行懒加载,另添加导出扩展的私货 2023-09-17 19:49:52 +08:00
Spmario233 50028571b2 menu updates 2023-09-17 16:11:43 +08:00
Spmario233 558d33d54d fix pinyinjs 2023-09-17 15:18:33 +08:00
Spmario233 b5678f7715
Merge pull request #340 from nofficalfs/PR-Alter-GenCoroutine
[Alter] 修改`genCoroutine`的机制
2023-09-17 15:05:07 +08:00
Spmario233 ce07a4af48 彭羕(no AI); fix get.number 2023-09-17 15:04:15 +08:00
Rintim b74aff07c6 last. 2023-09-17 11:26:56 +08:00
Rintim 238cfd8f36 compatible. 2023-09-17 11:08:53 +08:00
Rintim ac34ca2689 fix the bug. 2023-09-17 03:05:00 +08:00
Rintim e20a93d08f clean the `gnc.await`. 2023-09-17 03:00:25 +08:00
Rintim 1b01e5b08b remove comment && fix format. 2023-09-17 02:55:31 +08:00
Rintim f8b7941a16 logic parse.
Originally `gnc.await` would call `gnc.await` internally, so now merging the contents of `gnc.await` into `gnc.async` will definitely cause issues.

We will continue to change the `await` logic in `gnc.async` into a callback function, but at this point we only care about the outermost Promise. After the inner Promise finishes handling the asynchronous data, we no longer create nested Promise objects, we just call the callback function again. This also avoids potential performance losses from multi-layered Promises.
2023-09-17 02:53:28 +08:00
Rintim 31c96dd4ea determine the arg of `gnc.of` as a generator function.
`gnc.of` needs a generator function, so we check the input value to make the error clear.
2023-09-17 02:46:10 +08:00
Rintim 5893baaf9a modify `gnc.async` to `gnc.of`.
The name `gnc.async` was originally paired with `gnc.await`, intended to correspond to the `async` and `await` in` JavaScript`. However, having the same name as keywords in the standard library made the meaning of these two functions unclear on our side. The intention of `gnc.async` is to transform generator functions into `genCoroutine`, so it should contain the meaning of "creating". With simple discussion, we decided to use `of` for now to represent "creating" a `genCoroutine`.
2023-09-17 02:42:45 +08:00