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

Spelling error in token definition #984

Closed
octavian-nita opened this issue Aug 3, 2016 · 0 comments
Closed

Spelling error in token definition #984

octavian-nita opened this issue Aug 3, 2016 · 0 comments
Milestone

Comments

@octavian-nita
Copy link

Hi guys,

While trying to understand a bit more the code in https://github.com/beautify-web/js-beautify/blob/master/js/lib/beautify.js, I've noticed the following line:

var newline_restricted_tokens = ['break', 'contiue', 'return', 'throw'];

(line 479, at the time of this writing).

Now, I believe the second token should be 'continue' :) ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants