public function SassCompactRenderer::renderProperties in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/renderers/SassCompactRenderer.php \SassCompactRenderer::renderProperties()
* Renders properties. *
Parameters
SassNode the node being rendered: * @param array properties to render * @return string the rendered properties
Overrides SassCompressedRenderer::renderProperties
1 method overrides SassCompactRenderer::renderProperties()
- SassExpandedRenderer::renderProperties in phamlp/
sass/ renderers/ SassExpandedRenderer.php - * Renders properties. *
File
- phamlp/
sass/ renderers/ SassCompactRenderer.php, line 71
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
public function renderProperties($node, $properties) {
return join(' ', $properties);
}