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 compact function #67

Closed
wants to merge 1 commit into from

Conversation

leochen1216
Copy link

No description provided.

@@ -78,13 +78,24 @@
}

@if not(function-exists(compact)) {
@function compact($vars...) {
@function compact($args...) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leochen1216
Copy link
Author

@Igosuki can you take a look at this pull request when you get a chance?

@iampuma
Copy link

iampuma commented Nov 4, 2015

Works, please merge

@xzyfer
Copy link
Collaborator

xzyfer commented May 18, 2016

Thanks @leochen1216. An updated version of compact was released in v0.12.9. If you believe this to still be broken please open a PR with failing test cases.

@xzyfer xzyfer closed this May 18, 2016
@krivochenko
Copy link

Hi everyone!

I use version 0.12.10. And when I write: @include transition(color 0.5s ease-out) I get invalid CSS:

transition: compact(color 0.5s ease-out, false, false, false, false, false, false, false, false, false);

Thanks for help.

@xzyfer
Copy link
Collaborator

xzyfer commented Nov 30, 2017 via email

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.

4 participants