You are here

function sassy_compass__if in Sassy 7.3

Same name and namespace in other branches
  1. 7.2 extensions/compass/sassy_compass.module \sassy_compass__if()

File

sassy_compass/sassy_compass.module, line 84

Code

function sassy_compass__if($condition, $if_true, $if_false) {
  if ($condition) {
    return new SassString($if_true);
  }
  return new SassString('"' . $if_false . '"');
}