You are here

protected function SassCompressedRenderer::renderSelectors in Sassy 7

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

* Renders the rule's selectors *

Parameters

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

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

File

phamlp/sass/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…

Code

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