commit-detail.ts
typescript
sha256:129f74fcd6c7aee4beba9f9a924569b3f910090a9d8f3eb5e4ec294fb70bc604
fix: getting-started page's muse --version sample output sh…
Sonnet 5
minor
⚠ breaking
3 days ago
| 1 | export function initCommitDetail(): void { |
| 2 | const btn = document.querySelector<HTMLButtonElement>('.cmt-copy-btn'); |
| 3 | const shaEl = document.getElementById('cmt-sha'); |
| 4 | if (!btn || !shaEl) return; |
| 5 | const sha = shaEl.title; |
| 6 | btn.addEventListener('click', () => { |
| 7 | void navigator.clipboard.writeText(sha); |
| 8 | }); |
| 9 | } |
File History
1 commit
sha256:129f74fcd6c7aee4beba9f9a924569b3f910090a9d8f3eb5e4ec294fb70bc604
fix: getting-started page's muse --version sample output sh…
Sonnet 5
minor
⚠
3 days ago