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

Use modern JS in node usage section #1942

Merged
merged 1 commit into from
Sep 3, 2019

Conversation

RunDevelopment
Copy link
Member

This just replaces the vars and code strings in the node usage section to give off the image of a modern JS library.

(This will probably also make copypasting these usage examples easier for some. I.e. I would never use var in a NodeJS app.)

@RunDevelopment RunDevelopment merged commit 5c68a55 into PrismJS:master Sep 3, 2019
@RunDevelopment RunDevelopment deleted the index-modern-js branch September 3, 2019 10:34
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.

2 participants