Skip to content

Conversation

@johndoknjas
Copy link
Contributor

Third time's the charm - not sure why I didn't look more into doing it this way before, much simpler.

setTimeout(() => $(this).attr('data-icon', licon.Clipboard).addClass('button-metal'), 1000);
};
const copyText = (text: string) => navigator.clipboard.writeText(text).then(showCheckmark);
const call_api = $(this).hasClass('call-api');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

our typescript code also uses camelCase, not snake_case.

@ornicar
Copy link
Collaborator

ornicar commented Feb 24, 2025

there are some strange things in the commits history of this PR, so I'll do a squash merge to keep the master branch history clean.

@ornicar ornicar merged commit e5baddc into lichess-org:master Feb 24, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants