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

Method constructor

explainshell/web/static/js/es.js:259–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

257// a convenient wrapper around an array of points that allows to chain appends
258class ESPath {
259 constructor() {
260 this.points = [];
261 }
262
263 addpoint(x, y) {
264 this.points.push({ x: d3.round(x), y: d3.round(y) });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected