Spaces:
Paused
Paused
Download node_modules/@plotly/d3/src/transition/remove.js from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 238 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/d3/src/transition/remove.js
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/d3/src/transition/remove.js
-
curl -L -o remove.js https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/d3/src/transition/remove.js
238 Bytes
| import "transition"; | |
| d3_transitionPrototype.remove = function() { | |
| var ns = this.namespace; | |
| return this.each("end.transition", function() { | |
| var p; | |
| if (this[ns].count < 2 && (p = this.parentNode)) p.removeChild(this); | |
| }); | |
| }; | |