Skip to content

Commit 0f06de5

Browse files
[ci skip] add comments
1 parent 7d4bdc9 commit 0f06de5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.vitepress/pages/Playground.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ import { createOnigurumaEngine } from 'shiki/engine/oniguruma';
7575
import lzString from 'lz-string';
7676
import { useThrottle } from '../scripts/throttle';
7777
78+
// lz-stringがCommonJSモジュールだったみたいなので
7879
const { compressToEncodedURIComponent, decompressFromEncodedURIComponent } = lzString;
7980
8081
const fizzbuzz = `for (let i, 100) {
@@ -271,6 +272,7 @@ function clearLog() {
271272
//#region Permalink with hash
272273
type HashData = {
273274
code: string;
275+
// TODO: バージョン情報(マルチバージョン対応の際に必要。なければ最新にフォールバック)
274276
};
275277
const hash = ref<string | null>(inBrowser ? window.location.hash.slice(1) || localStorage.getItem('ais:playground') : null);
276278
const hashData = computed<HashData | null>(() => {

0 commit comments

Comments
 (0)