modules/custom-css/custom-css/preprocessors/lessc.inc.php 1 location
|
@@ 1721-1724 (lines=4) @@
|
1718 |
|
case '%': |
1719 |
|
$out[] = $lval % $rval; |
1720 |
|
break; |
1721 |
|
case '/': |
1722 |
|
if ($rval == 0) $this->throwError("evaluate error: can't divide by zero"); |
1723 |
|
$out[] = $lval / $rval; |
1724 |
|
break; |
1725 |
|
default: |
1726 |
|
$this->throwError('evaluate error: color op number failed on op '.$op); |
1727 |
|
} |
modules/custom-css/custom-css/preprocessors/scss.inc.php 1 location
|
@@ 1080-1085 (lines=6) @@
|
1077 |
|
case '%': |
1078 |
|
$out[] = $lval % $rval; |
1079 |
|
break; |
1080 |
|
case '/': |
1081 |
|
if ($rval == 0) { |
1082 |
|
$this->throwError("color: Can't divide by zero"); |
1083 |
|
} |
1084 |
|
$out[] = $lval / $rval; |
1085 |
|
break; |
1086 |
|
case "==": |
1087 |
|
return $this->op_eq($left, $right); |
1088 |
|
case "!=": |