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 the CodeBlock component so that newer JS syntax is shown first #654

Merged
merged 1 commit into from Feb 7, 2017

Conversation

darthtrevino
Copy link
Member

The documentation shows 3 blocks of code per example, es5, es6, and es7. This PR reverses their order (es7, es6, es5), and it makes it so that ES7 examples are rendered initially. This makes the documentation feel a little fresher since it's targeting newer JS syntax by default.

@darthtrevino darthtrevino merged commit ad4102d into master Feb 7, 2017
@darthtrevino darthtrevino deleted the update_codeblocks branch February 7, 2017 23:02
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.

None yet

1 participant