Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update JS for "flush site cache" button to ES6 #311

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

stklcode
Copy link
Contributor

@stklcode stklcode commented Oct 8, 2024

Use ES6 block syntax, const/let , => arrow functions and fetch().

Adjust code style to recommendations and use camelCase for variables and functions.

Add some JSDocs.

(yes, this one drops Internet Explorer support which is no longer supported for the WP backend anyway)

Copy link

sonarcloud bot commented Oct 10, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant