We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d4bdc9 commit 0f06de5Copy full SHA for 0f06de5
.vitepress/pages/Playground.vue
@@ -75,6 +75,7 @@ import { createOnigurumaEngine } from 'shiki/engine/oniguruma';
75
import lzString from 'lz-string';
76
import { useThrottle } from '../scripts/throttle';
77
78
+// lz-stringがCommonJSモジュールだったみたいなので
79
const { compressToEncodedURIComponent, decompressFromEncodedURIComponent } = lzString;
80
81
const fizzbuzz = `for (let i, 100) {
@@ -271,6 +272,7 @@ function clearLog() {
271
272
//#region Permalink with hash
273
type HashData = {
274
code: string;
275
+ // TODO: バージョン情報(マルチバージョン対応の際に必要。なければ最新にフォールバック)
276
};
277
const hash = ref<string | null>(inBrowser ? window.location.hash.slice(1) || localStorage.getItem('ais:playground') : null);
278
const hashData = computed<HashData | null>(() => {
0 commit comments