private function CSSmin::replace_calc in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 8.2 advagg_css_minify/yui/CSSMin.inc \CSSmin::replace_calc()
- 8.3 advagg_css_minify/yui/CSSMin.inc \CSSmin::replace_calc()
File
- advagg_css_compress/
yui/ CSSMin.inc, line 547
Class
Code
private function replace_calc($matches) {
$this->preserved_tokens[] = preg_replace('/\\s?([\\*\\/\\(\\),])\\s?/', '$1', $matches[0]);
return self::TOKEN . (count($this->preserved_tokens) - 1) . '___';
}