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
Native Sass function to return list separator #689
Conversation
Not entirely sure how I would go about writing this test ( |
Updated with tests, naming, and incorporated your comments |
I don't see any tests... did you remember to add them to the commit? |
Anything else I've got to do for this? I've run into another instance where I need this working. |
Shouldn't this function return |
Also, if you're using variable arguments the list class for the variable argument is @mixin arglist-test(args...) {
@debug list-separator(args);
}
.test {
@include arglist-test(this, is, comma, separated); // DEBUG: space
}
Changing
to
should produce the correct |
In this context
Good point. Fixed by 7e51238. |
Thanks. Re: |
This should return the separator of a list or false if the input isn't a list. Solves #688