Same name in other branches
  1. 8.x-3.x advagg_css_minify/yui/CSSMin.inc \CSSmin::replace_calc()

Fichier

advagg_css_minify/yui/CSSMin.inc, line 601

Classe

CSSmin

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) . '___' . ')';
}