(f)
| 4896 | return d3_ease_clamp(m(t.apply(null, Array.prototype.slice.call(arguments, 1)))); |
| 4897 | }; |
| 4898 | function d3_ease_clamp(f) { |
| 4899 | return function(t) { |
| 4900 | return t <= 0 ? 0 : t >= 1 ? 1 : f(t); |
| 4901 | }; |
| 4902 | } |
| 4903 | function d3_ease_reverse(f) { |
| 4904 | return function(t) { |
| 4905 | return 1 - f(1 - t); |