You are here

protected function SassCompactRenderer::renderSelectors in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/renderers/SassCompactRenderer.php \SassCompactRenderer::renderSelectors()

* Renders rule selectors. *

Parameters

SassNode the node being rendered: * @return string the rendered selectors

Overrides SassCompressedRenderer::renderSelectors

1 method overrides SassCompactRenderer::renderSelectors()
SassNestedRenderer::renderSelectors in phamlp/sass/renderers/SassNestedRenderer.php
* Renders rule selectors. *

File

phamlp/sass/renderers/SassCompactRenderer.php, line 127

Class

SassCompactRenderer
SassCompactRenderer class. Each CSS rule takes up only one line, with every property defined on that line. Nested rules are placed next to each other with no newline, while groups of rules have newlines between…

Code

protected function renderSelectors($node) {
  return join(', ', $node->selectors);
}