Spaces:
Paused
Paused
Download node_modules/@plotly/d3/src/interpolate/array.js from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/d3/src/interpolate/array.js
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/d3/src/interpolate/array.js
-
curl -L -o array.js https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/d3/src/interpolate/array.js
446 Bytes
| 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; | |
| }; | |
| } | |