Spaces:
Paused
Paused
Download node_modules/@plotly/d3/src/compat/array.js from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/d3/src/compat/array.js
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/d3/src/compat/array.js
-
curl -L -o array.js https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/d3/src/compat/array.js
391 Bytes
| import "../core/array"; | |
| import "../core/document"; | |
| // Redefine d3_array if the browser doesn’t support slice-based conversion. | |
| if (d3_document) { | |
| try { | |
| d3_array(d3_document.documentElement.childNodes)[0].nodeType; | |
| } catch (e) { | |
| d3_array = function(list) { | |
| var i = list.length, array = new Array(i); | |
| while (i--) array[i] = list[i]; | |
| return array; | |
| }; | |
| } | |
| } | |