Skip to content

switching var to const to be more modern #886

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

Merged
1 commit merged into from
Jan 28, 2021
Merged

switching var to const to be more modern #886

1 commit merged into from
Jan 28, 2021

Conversation

weaverryan
Copy link
Member

Q A
License MIT
Doc issue/PR WIP - I'm reviewing all the Encore docs currently

I originally (4 years ago) used var because const were still relatively new and not necessarily known widely. I think that's not true anymore, so let's use the more modern `const.

Cheers!

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Pull request passes validation.

@ghost ghost merged commit b334e8d into symfony:master Jan 28, 2021
weaverryan added a commit to symfony/symfony-docs that referenced this pull request Feb 5, 2021
This PR was squashed before being merged into the 5.2 branch.

Discussion
----------

updating Encore docs for 1.0

Hi!

I do an entire, quick read-through of the docs and updated for 1.0 (and modernized a few spots - like `var` -> `const` - symfony/recipes#886

Cheers!

Commits
-------

a85f968 updating Encore docs for 1.0
This pull request was closed.
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.

3 participants