private function CSSCompression_Cleanup::removeUnnecessarySemicolon in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 7 advagg_css_compress/css-compressor-3.x/src/lib/Cleanup.inc \CSSCompression_Cleanup::removeUnnecessarySemicolon()
Removes last semicolons on the final property of a set
Parameters
(string) value: rule set:
1 call to CSSCompression_Cleanup::removeUnnecessarySemicolon()
- CSSCompression_Cleanup::cleanup in advagg_css_compress/
css-compressor-3.x/ src/ lib/ Cleanup.inc - Central cleanup process, removes all injections
File
- advagg_css_compress/
css-compressor-3.x/ src/ lib/ Cleanup.inc, line 195
Class
- CSSCompression_Cleanup
- CSS Compressor [VERSION] [DATE] Corey Hart @ http://www.codenothing.com
Code
private function removeUnnecessarySemicolon($value) {
return preg_replace($this->rsemi, '', $value);
}