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

Function ue

chart/js/chart.js:4629–4652  ·  view source on GitHub ↗
(t, e, n)

Source from the content-addressed store, hash-verified

4627 return Math.max(t[n], e[n]) + Math.max(t[i], e[i]);
4628 }
4629 function ue(t, e, n) {
4630 var i,
4631 a,
4632 r = n.box,
4633 o = t.maxPadding;
4634 if (
4635 (n.size && (t[n.pos] -= n.size),
4636 (n.size = n.horizontal ? r.height : r.width),
4637 (t[n.pos] += n.size),
4638 r.getPadding)
4639 ) {
4640 var s = r.getPadding();
4641 (o.top = Math.max(o.top, s.top)),
4642 (o.left = Math.max(o.left, s.left)),
4643 (o.bottom = Math.max(o.bottom, s.bottom)),
4644 (o.right = Math.max(o.right, s.right));
4645 }
4646 if (
4647 ((i = e.outerWidth - le(o, t, "left", "right")),
4648 (a = e.outerHeight - le(o, t, "top", "bottom")),
4649 i !== t.w || a !== t.h)
4650 )
4651 return (t.w = i), (t.h = a), n.horizontal ? i !== t.w : a !== t.h;
4652 }
4653 function de(t, e) {
4654 var n = e.maxPadding;
4655 function i(t) {

Callers 1

heFunction · 0.85

Calls 1

leFunction · 0.85

Tested by

no test coverage detected