projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php 1 location
|
@@ 1527-1535 (lines=9) @@
|
| 1524 |
|
list(, $op, $exp) = $value; |
| 1525 |
|
$exp = $this->reduce($exp); |
| 1526 |
|
|
| 1527 |
|
if ($exp[0] == "number") { |
| 1528 |
|
switch ($op) { |
| 1529 |
|
case "+": |
| 1530 |
|
return $exp; |
| 1531 |
|
case "-": |
| 1532 |
|
$exp[1] *= -1; |
| 1533 |
|
return $exp; |
| 1534 |
|
} |
| 1535 |
|
} |
| 1536 |
|
return array("string", "", array($op, $exp)); |
| 1537 |
|
} |
| 1538 |
|
|
projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/scss.inc.php 1 location
|
@@ 887-895 (lines=9) @@
|
| 884 |
|
$inExp = $inExp || $this->shouldEval($exp); |
| 885 |
|
|
| 886 |
|
$exp = $this->reduce($exp); |
| 887 |
|
if ($exp[0] == "number") { |
| 888 |
|
switch ($op) { |
| 889 |
|
case "+": |
| 890 |
|
return $exp; |
| 891 |
|
case "-": |
| 892 |
|
$exp[1] *= -1; |
| 893 |
|
return $exp; |
| 894 |
|
} |
| 895 |
|
} |
| 896 |
|
|
| 897 |
|
if ($op == "not") { |
| 898 |
|
if ($inExp || $inParens) { |