MCPcopy Create free account
hub / github.com/idank/explainshell / lines

Function lines

explainshell/web/static/js/d3.v3.js:3081–3087  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3079 };
3080 }
3081 function lines() {
3082 return d3.range(Math.ceil(X0 / DX) * DX, X1, DX).map(X).concat(d3.range(Math.ceil(Y0 / DY) * DY, Y1, DY).map(Y)).concat(d3.range(Math.ceil(x0 / dx) * dx, x1, dx).filter(function(x) {
3083 return Math.abs(x % DX) > ε;
3084 }).map(x)).concat(d3.range(Math.ceil(y0 / dy) * dy, y1, dy).filter(function(y) {
3085 return Math.abs(y % DY) > ε;
3086 }).map(y));
3087 }
3088 graticule.lines = function() {
3089 return lines().map(function(coordinates) {
3090 return {

Callers 2

graticuleFunction · 0.85
d3.v3.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected