modules/custom-css/custom-css/preprocessors/lessc.inc.php 1 location
|
@@ 770-773 (lines=4) @@
|
767 |
|
case 'raw': |
768 |
|
$out->lines[] = $prop[1]; |
769 |
|
break; |
770 |
|
case "directive": |
771 |
|
list(, $name, $value) = $prop; |
772 |
|
$out->lines[] = "@$name " . $this->compileValue($this->reduce($value)).';'; |
773 |
|
break; |
774 |
|
case "comment": |
775 |
|
$out->lines[] = $prop[1]; |
776 |
|
break; |
modules/custom-css/custom-css/preprocessors/scss.inc.php 1 location
|
@@ 564-570 (lines=7) @@
|
561 |
|
$this->sourceParser = isset($child[-2]) ? $child[-2] : $this->parser; |
562 |
|
|
563 |
|
switch ($child[0]) { |
564 |
|
case "import": |
565 |
|
list(,$rawPath) = $child; |
566 |
|
$rawPath = $this->reduce($rawPath); |
567 |
|
if (!$this->compileImport($rawPath, $out)) { |
568 |
|
$out->lines[] = "@import " . $this->compileValue($rawPath) . ";"; |
569 |
|
} |
570 |
|
break; |
571 |
|
case "directive": |
572 |
|
list(, $directive) = $child; |
573 |
|
$s = "@" . $directive->name; |