N°5621 Move C3 0.4.11 to NPM

This commit is contained in:
Pierre Goiffon
2024-02-16 16:42:42 +01:00
parent ff079f7d01
commit f3fbce7459
609 changed files with 84517 additions and 6 deletions

19
node_modules/d3/src/interpolate/array.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
import "interpolate";
d3.interpolateArray = d3_interpolateArray;
function d3_interpolateArray(a, b) {
var x = [],
c = [],
na = a.length,
nb = b.length,
n0 = Math.min(a.length, b.length),
i;
for (i = 0; i < n0; ++i) x.push(d3_interpolate(a[i], b[i]));
for (; i < na; ++i) c[i] = a[i];
for (; i < nb; ++i) c[i] = b[i];
return function(t) {
for (i = 0; i < n0; ++i) c[i] = x[i](t);
return c;
};
}