Same name in other branches
  1. 8.x-3.x advagg_css_minify/yui/CSSMin.inc \CSSmin::clamp_number()
2 calls to CSSmin::clamp_number()
CSSmin::hsl_to_hex dans advagg_css_minify/yui/CSSMin.inc
CSSmin::rgb_to_hex dans advagg_css_minify/yui/CSSMin.inc

Fichier

advagg_css_minify/yui/CSSMin.inc, line 717

Classe

CSSmin

Code

private function clamp_number($n, $min, $max) {
    return min(max($n, $min), $max);
}