private function CSSmin::clamp_number in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 8.2 advagg_css_minify/yui/CSSMin.inc \CSSmin::clamp_number()
- 8.3 advagg_css_minify/yui/CSSMin.inc \CSSmin::clamp_number()
2 calls to CSSmin::clamp_number()
- CSSmin::hsl_to_hex in advagg_css_compress/
yui/ CSSMin.inc - CSSmin::rgb_to_hex in advagg_css_compress/
yui/ CSSMin.inc
File
- advagg_css_compress/
yui/ CSSMin.inc, line 622
Class
Code
private function clamp_number($n, $min, $max) {
return min(max($n, $min), $max);
}