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

Disable for a single line #93

Closed
JZL opened this issue Jul 27, 2015 · 2 comments
Closed

Disable for a single line #93

JZL opened this issue Jul 27, 2015 · 2 comments

Comments

@JZL
Copy link

JZL commented Jul 27, 2015

Hi,
For a certain line of code (firstReponseURL = bcplResp.match(/<td width="1%" valign="top">[\r\n\s]*<a href="(\/Mobile\/Search\/Title\/[0-9\.]*)">/)[1]) jsbeautify gets all wonky, is it possible to disable it for one line (so I can call control+c+f normally but it ignores that line to beautify). Ideally it would be something like a comment in the line above and below so as to tell jsbeautify to skip over the next line?

Edit: something like beautifier/js-beautify#384

@maksimr
Copy link
Owner

maksimr commented Jul 27, 2015

@JZL003 I think yes, because we use js-beautify. You can install latest version js-beautify and try add special comment.

Thanks! ;)

@maksimr
Copy link
Owner

maksimr commented Jul 29, 2015

Feel free reopen

@maksimr maksimr closed this as completed Jul 29, 2015
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

No branches or pull requests

2 participants