You are here

public function SassCompressedRenderer::renderProperty in Sassy 7

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

* Renders a property. *

Parameters

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

1 method overrides SassCompressedRenderer::renderProperty()
SassCompactRenderer::renderProperty in phamlp/sass/renderers/SassCompactRenderer.php
* Renders a property. *

File

phamlp/sass/renderers/SassCompressedRenderer.php, line 79

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

public function renderProperty($node) {
  return "{$node->name}:{$node->value};";
}