Hey Joe,
I've been using LESS CSS lately, and I ran into what appears to be a problem with dotLESS, when using the following code:
@a = string;
.item() when (@a = string) {
// Rules to execute when a = string
}
.item() when not (@a = string) {
// Rules to execute otherwise
}
I've tested my code using WinLess (http://winless.org/online-less-compiler), and it works fine there.
In mojoPortal, either one of those mixins on their own works fine, but if I try to use both of them the code fails to compile. I need both of them, because the people setting the variable @a might not know that if they set it to something other than a specific string it will break the site.
I've looked this up on the dotless github, and found this: https://github.com/dotless/dotless/issues/127
Supposedly this issue was fixed 11 months ago, so I was wondering if you know whether or not we're using an updated version of dotless, or if there is some other issue that hasn't yet been fixed?
Any help is greatly appreciated.
Thanks,
-Isaac