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 landing page to use const instead of var in the example #3877

Merged
merged 1 commit into from
Sep 30, 2023

Conversation

dlitsman
Copy link
Contributor

The usage of var is generally considered obsolete and legacy. This makes the library look outdated in comparison with the competitors. As all of the modern browsers now support const. It makes Quill to look outdated especially on the front page example.

More context here: #3876

npm run website:develop
The front page example now uses const
image

This diff

  • Updates front-page example to use const instead of var

@luin luin merged commit 4185b65 into slab:develop Sep 30, 2023
5 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