Download node_modules/d3-geo/src/compose.js from NKessler/Horizon: direct link, hf CLI and curl.
- Browser
- Download file 250 Bytes
-
https://huggingface.co/NKessler/Horizon/resolve/main/node_modules/d3-geo/src/compose.js
- Command line
-
hf download hf://NKessler/Horizon/node_modules/d3-geo/src/compose.js
-
curl -L -o compose.js https://huggingface.co/NKessler/Horizon/resolve/main/node_modules/d3-geo/src/compose.js
250 Bytes
| export default function(a, b) { | |
| function compose(x, y) { | |
| return x = a(x, y), b(x[0], x[1]); | |
| } | |
| if (a.invert && b.invert) compose.invert = function(x, y) { | |
| return x = b.invert(x, y), x && a.invert(x[0], x[1]); | |
| }; | |
| return compose; | |
| } | |