Closed kaaaahhhhnnnn closed 8 years ago
color: if(false, <code block A>, <code block B>);
According to spec, code block A should not be evaluated, but it is. It's causing issues because I have:
code block A
if($propIndex, nth($strProps, $propIndex), 0);
and when propIndex is null, it throws an error.
propIndex
null
My temporary work-around (for anyone else that might have this issue):
if($propIndex, nth($strProps, $propIndex or 1), 0);
Fixed in 1.3.5.
According to spec,
code block A
should not be evaluated, but it is. It's causing issues because I have:and when
propIndex
isnull
, it throws an error.My temporary work-around (for anyone else that might have this issue):