You are here

protected function SassCompressedRenderer::renderSelectors in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/renderers/SassCompressedRenderer.php \SassCompressedRenderer::renderSelectors()

Renders the rule's selectors

Parameters

SassNode the node being rendered:

Return value

string the rendered selectors

1 call to SassCompressedRenderer::renderSelectors()
SassCompressedRenderer::renderRule in phpsass/renderers/SassCompressedRenderer.php
Renders a rule.
1 method overrides SassCompressedRenderer::renderSelectors()
SassCompactRenderer::renderSelectors in phpsass/renderers/SassCompactRenderer.php
Renders rule selectors.

File

phpsass/renderers/SassCompressedRenderer.php, line 99

Class

SassCompressedRenderer
SassCompressedRenderer class. Compressed style takes up the minimum amount of space possible, having no whitespace except that necessary to separate selectors and a newline at the end of the file. It's not meant to be human-readable @package …

Code

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