@@ 511-516 (lines=6) @@ | ||
508 | /** |
|
509 | * Compile LESS to CSS with PHP. |
|
510 | */ |
|
511 | if ($filter == 'less' && $this->config->get('streams::assets.filters.less', 'php') == 'php') { |
|
512 | ||
513 | $filter = new LessFilter($this->parser); |
|
514 | ||
515 | continue; |
|
516 | } |
|
517 | ||
518 | /** |
|
519 | * Compile LESS to CSS with Node. |
|
@@ 521-526 (lines=6) @@ | ||
518 | /** |
|
519 | * Compile LESS to CSS with Node. |
|
520 | */ |
|
521 | if ($filter == 'less' && $this->config->get('streams::assets.filters.less', 'php') == 'node') { |
|
522 | ||
523 | $filter = new NodeLessFilter($this->parser); |
|
524 | ||
525 | continue; |
|
526 | } |
|
527 | ||
528 | /** |
|
529 | * Compile Stylus to CSS. |