MCPcopy Create free account
hub / github.com/codemistic/Web-Development / c

Function c

chart/js/chart.js:1167–1182  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

1165 }
1166 }
1167 function c(t) {
1168 if (t) {
1169 var e = t.match(
1170 /^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/
1171 );
1172 if (e) {
1173 var n = parseFloat(e[4]);
1174 return [
1175 m(parseInt(e[1]), 0, 360),
1176 m(parseFloat(e[2]), 0, 100),
1177 m(parseFloat(e[3]), 0, 100),
1178 m(isNaN(n) ? 1 : n, 0, 1),
1179 ];
1180 }
1181 }
1182 }
1183 function f(t, e) {
1184 return (
1185 void 0 === e && (e = void 0 !== t[3] ? t[3] : 1),

Callers 1

chart.jsFile · 0.70

Calls 1

mFunction · 0.70

Tested by

no test coverage detected