You are here

private function CSSmin::replace_keyframe_zero in Advanced CSS/JS Aggregation 8.2

Same name and namespace in other branches
  1. 8.3 advagg_css_minify/yui/CSSMin.inc \CSSmin::replace_keyframe_zero()

File

advagg_css_minify/yui/CSSMin.inc, line 613

Class

CSSmin

Code

private function replace_keyframe_zero($matches) {
  return $matches[1] . preg_replace('/0(\\{|,[^\\)\\{]+\\{)/', '0%$1', $matches[2]) . $matches[3];
}