mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-18 16:02:57 +00:00
feat: cv2
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
<script>
|
||||
import { parseCharaChords } from "$lib/chord-editor/action-serializer";
|
||||
import text from "$lib/chord-editor/test.txt?raw";
|
||||
import { KEYMAP_IDS } from "$lib/serial/keymap-codes";
|
||||
</script>
|
||||
|
||||
<pre>{text}</pre>
|
||||
{#each parseCharaChords(text, $KEYMAP_IDS) as chord}
|
||||
<pre>{JSON.stringify(chord)} ({text.slice(chord.from, chord.to)})</pre>
|
||||
{/each}
|
||||
Reference in New Issue
Block a user