Spaces:
Paused
Paused
Download node_modules/@plotly/d3/src/selection/enter-select.js from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 678 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/d3/src/selection/enter-select.js
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/d3/src/selection/enter-select.js
-
curl -L -o enter-select.js https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/d3/src/selection/enter-select.js
678 Bytes
| import "selection"; | |
| import "enter"; | |
| d3_selection_enterPrototype.select = function(selector) { | |
| var subgroups = [], | |
| subgroup, | |
| subnode, | |
| upgroup, | |
| group, | |
| node; | |
| for (var j = -1, m = this.length; ++j < m;) { | |
| upgroup = (group = this[j]).update; | |
| subgroups.push(subgroup = []); | |
| subgroup.parentNode = group.parentNode; | |
| for (var i = -1, n = group.length; ++i < n;) { | |
| if (node = group[i]) { | |
| subgroup.push(upgroup[i] = subnode = selector.call(group.parentNode, node.__data__, i, j)); | |
| subnode.__data__ = node.__data__; | |
| } else { | |
| subgroup.push(null); | |
| } | |
| } | |
| } | |
| return d3_selection(subgroups); | |
| }; | |