We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using LESS v1.70 on node v0.10.28, this fails:
#example { .start(@col-count: 4){ #example > .loop(@col-count); } .loop(@counter) when (@counter > 0) { .box-@{counter} { width: 100% / @counter; } #example > .loop((@counter - 1)); } } #example > .start(); // LESS Syntax error : Cannot call method 'concat' of undefined
but this works fine:
// same namespace & mixin definitions shown above div { #example > .start(); }
as does this:
.start(@col-count: 4){ .loop(@col-count); } .loop(@counter) when (@counter > 0) { .box-@{counter} { width: 100% / @counter; } .loop((@counter - 1)); } .start();
in LESS v1.6.x, all forms shown above worked fine, outputting the following:
.box-4 { width: 25%; } .box-3 { width: 33.333333333333336%; } .box-2 { width: 50%; } .box-1 { width: 100%; }
The text was updated successfully, but these errors were encountered:
Thanks. Fixed with #2002.
Sorry, something went wrong.
f56c7bf
wow, nice job! 👏
No branches or pull requests
Using LESS v1.70 on node v0.10.28, this fails:
but this works fine:
as does this:
in LESS v1.6.x, all forms shown above worked fine, outputting the following:
The text was updated successfully, but these errors were encountered: