You are here

public function SassCompressedRenderer::renderComment in Sassy 7.3

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

Renders a comment.

Parameters

SassNode the node being rendered:

Return value

string the rendered comment

1 method overrides SassCompressedRenderer::renderComment()
SassCompactRenderer::renderComment in phpsass/renderers/SassCompactRenderer.php
Renders a comment. Comments preceeding a rule are on their own line. Comments within a rule are on the same line as the rule.

File

phpsass/renderers/SassCompressedRenderer.php, line 50

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

public function renderComment($node) {
  return '';
}