Skip to content

Updated examples to es6 #26

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
merged 1 commit into from
Aug 25, 2021
Merged

Updated examples to es6 #26

merged 1 commit into from
Aug 25, 2021

Conversation

amilajack
Copy link

No description provided.

@jwagner
Copy link
Owner

jwagner commented Jan 26, 2019

Hi Amila,

I don't see the benefit in this change. Var works in both es5 and es6. The change makes the examples work for less people.

Changing the var to const can be done easily by people wishing to do so.

@jwagner jwagner changed the base branch from master to main August 25, 2021 09:19
@jwagner jwagner merged commit 439b64f into jwagner:main Aug 25, 2021
@jwagner
Copy link
Owner

jwagner commented Aug 25, 2021

Since the number of ES5 users should be fairly low by now I've updated the examples as you suggested in the most recent release now. Thanks @amilajack !

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