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

Don't output empty blocks #769

Merged
merged 1 commit into from
Dec 26, 2014

Conversation

xzyfer
Copy link
Contributor

@xzyfer xzyfer commented Dec 26, 2014

This PR replicates the Ruby sass behaviour of removing declarations with SassScript values that evaluated to null. This by proxy means blocks made up of only these values aren't outputted.

Fixes #659. Specs added sass/sass-spec#199.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0%) when pulling 3ed6e43 on xzyfer:fix/dont-output-empty-declarations into d8c08c6 on sass:master.

xzyfer added a commit that referenced this pull request Dec 26, 2014
@xzyfer xzyfer merged commit a912969 into sass:master Dec 26, 2014
@xzyfer xzyfer added this to the 3.1 milestone Dec 26, 2014
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.

Never output empty blocks
2 participants