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

Added single line comment support in less/sass for javascript parser #353

Merged
merged 6 commits into from
Nov 11, 2013

Conversation

mokkabonna
Copy link
Contributor

Will try to add python as well

ref #326

End of line comments are not supported yet, it is moved to the next line.

@bitwiseman
Copy link
Member

😄 Might include a few more tests, if you can think of them. Other than that and python implementation parity, looks good.

@mokkabonna
Copy link
Contributor Author

I think that should be it. If accepted I will move on to other less issues, like

.rule {
  &:hover {
  }
}

turns into

.rule {
  &: hover {
  }
}

Have already an implementation of that for javascript.

bitwiseman added a commit that referenced this pull request Nov 11, 2013
Added single line comment support in less/sass for javascript parser
@bitwiseman bitwiseman merged commit 4e0dd41 into beautifier:master Nov 11, 2013
@mokkabonna mokkabonna deleted the single-line-comment branch November 12, 2013 07:38
@andrewjmead
Copy link

Please release a new npm version 😄 I would love to use this!

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.

3 participants