vaadin / sass-compiler

A Java Sass compiler implementation
53 stars 25 forks source link

Not equals does not work with strings #294

Open vaadin-bot opened 9 years ago

vaadin-bot commented 9 years ago

Originally by @tepi


Given the following code, the "$var != foo" part evaluates to true no matter what value $var has - and no matter if it equals foo or not.

$var: foo;

$if $var != foo {
    // Do something
} @else {
    // Do something else
} 

Imported from https://dev.vaadin.com/ issue #17194