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

Fix JS beautify on JSX and EJS #1432

Merged
merged 1 commit into from
Jan 1, 2017
Merged

Conversation

NodeJoSe
Copy link
Contributor

@NodeJoSe NodeJoSe commented Dec 30, 2016

What does this implement/fix? Explain your changes.

When i tried to beautify EJS or JSX with JS Beautify, it wont work, because i forgot to add EJS and JSX on the Switch when i added it to JS Beautify options. This will fix the issue.

@Glavin001 Glavin001 merged commit c3e554d into Glavin001:master Jan 1, 2017
@Glavin001 Glavin001 self-assigned this Jan 1, 2017
@Glavin001 Glavin001 added this to the v0.30.0 milestone Jan 1, 2017
Glavin001 added a commit that referenced this pull request Jan 25, 2017
@Glavin001
Copy link
Owner

Glavin001 commented Jan 25, 2017

Published to v0.29.17

I did not know the severity of this bug! It has caused HUGE problems for many, many users! See #1458, #1471, #1483, #136, #1452. I was waiting to publish a new release after some more Pull Requests have been merged, however this completely broke JS-Beautify. Thank you for fixing it!

I have added 46d4975 to now throw an error so this cannot ever occur again!

For example:
image

@NodeJoSe
Copy link
Contributor Author

Nice, i'm glad it helped!

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.

3 participants