diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-03-15 18:26:59 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-03-15 18:26:59 +0900 |
| commit | 6da6c4dd45a5500dbcb56e562282bad9dfecb5ed (patch) | |
| tree | 0dcf258df46036e38051a65f5cbeb835cd491bfc /packages/frontend | |
| parent | Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop (diff) | |
| download | misskey-6da6c4dd45a5500dbcb56e562282bad9dfecb5ed.tar.gz misskey-6da6c4dd45a5500dbcb56e562282bad9dfecb5ed.tar.bz2 misskey-6da6c4dd45a5500dbcb56e562282bad9dfecb5ed.zip | |
enhance(client): update AiScript to 0.13.0
Diffstat (limited to 'packages/frontend')
| -rw-r--r-- | packages/frontend/package.json | 2 | ||||
| -rw-r--r-- | packages/frontend/src/pages/flash/flash-edit.vue | 10 | ||||
| -rw-r--r-- | packages/frontend/src/pages/settings/plugin.install.vue | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 9c8afb9aed..2192553a5f 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -15,7 +15,7 @@ "@rollup/plugin-alias": "4.0.3", "@rollup/plugin-json": "6.0.0", "@rollup/pluginutils": "5.0.2", - "@syuilo/aiscript": "0.12.4", + "@syuilo/aiscript": "0.13.0", "@tabler/icons-webfont": "2.2.0", "@vitejs/plugin-vue": "4.0.0", "@vue/compiler-sfc": "3.2.47", diff --git a/packages/frontend/src/pages/flash/flash-edit.vue b/packages/frontend/src/pages/flash/flash-edit.vue index 2b7fcf74e1..242ca5e897 100644 --- a/packages/frontend/src/pages/flash/flash-edit.vue +++ b/packages/frontend/src/pages/flash/flash-edit.vue @@ -33,7 +33,7 @@ import MkTextarea from '@/components/MkTextarea.vue'; import MkInput from '@/components/MkInput.vue'; import { useRouter } from '@/router'; -const PRESET_DEFAULT = `/// @ 0.12.4 +const PRESET_DEFAULT = `/// @ 0.13.0 var name = "" @@ -51,7 +51,7 @@ Ui:render([ ]) `; -const PRESET_OMIKUJI = `/// @ 0.12.4 +const PRESET_OMIKUJI = `/// @ 0.13.0 // ユーザーごとに日替わりのおみくじのプリセット // 選択肢 @@ -94,7 +94,7 @@ Ui:render([ ]) `; -const PRESET_SHUFFLE = `/// @ 0.12.4 +const PRESET_SHUFFLE = `/// @ 0.13.0 // 巻き戻し可能な文字シャッフルのプリセット let string = "ペペロンチーノ" @@ -173,7 +173,7 @@ var cursor = 0 do() `; -const PRESET_QUIZ = `/// @ 0.12.4 +const PRESET_QUIZ = `/// @ 0.13.0 let title = '地理クイズ' let qas = [{ @@ -286,7 +286,7 @@ qaEls.push(Ui:C:container({ Ui:render(qaEls) `; -const PRESET_TIMELINE = `/// @ 0.12.4 +const PRESET_TIMELINE = `/// @ 0.13.0 // APIリクエストを行いローカルタイムラインを表示するプリセット @fetch() { diff --git a/packages/frontend/src/pages/settings/plugin.install.vue b/packages/frontend/src/pages/settings/plugin.install.vue index f23a338179..98063d6ff8 100644 --- a/packages/frontend/src/pages/settings/plugin.install.vue +++ b/packages/frontend/src/pages/settings/plugin.install.vue @@ -49,7 +49,7 @@ async function install() { text: 'No language version annotation found :(', }); return; - } else if (!lv.startsWith('0.12.')) { + } else if (!(lv.startsWith('0.12.') || lv.startsWith('0.13.'))) { os.alert({ type: 'error', text: `aiscript version '${lv}' is not supported :(`, |