gabriel / musehub public
commit-detail.ts typescript
9 lines 319 B
Raw
sha256:bba4b69de173366aeb7d490d687ccffb6db9726374033addece89cf2b87642d8 docs: add production launch discovery report and infra laun… Sonnet 5 8 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 2 commits
sha256:bba4b69de173366aeb7d490d687ccffb6db9726374033addece89cf2b87642d8 docs: add production launch discovery report and infra laun… Sonnet 5 8 days ago
sha256:eb0928124669c933c0ef852bea1ad0c56649cf21bd7e9663c3b51004771b0591 docs: add MuseHub cloud identity/AWS operating model and Go… Sonnet 5 patch 8 days ago