Same name in other branches
- 8.x-2.x advagg_css_minify/yui/CSSMin.inc \CSSmin::replace_calc()
Fichier
-
advagg_css_minify/
yui/ CSSMin.inc, line 601
Classe
Code
private function replace_calc($matches) {
$this->preserved_tokens[] = trim(preg_replace('/\\s*([\\*\\/\\(\\),])\\s*/', '$1', $matches[2]));
return 'calc(' . self::TOKEN . (count($this->preserved_tokens) - 1) . '___' . ')';
}