public function CSSCompression_Trim::trim in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 7 advagg_css_compress/css-compressor-3.x/src/lib/Trim.inc \CSSCompression_Trim::trim()
Central trim handler
Parameters
(string) css: Stylesheet to trim:
File
- advagg_css_compress/
css-compressor-3.x/ src/ lib/ Trim.inc, line 111
Class
- CSSCompression_Trim
- CSS Compressor [VERSION] [DATE] Corey Hart @ http://www.codenothing.com
Code
public function trim($css) {
$css = $this
->comments($css);
$css = $this
->escape($css);
$css = $this
->strip($css);
return $css;
}