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

Function point

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

Source from the content-addressed store, hash-verified

499 type: "dragstart"
500 });
501 function point() {
502 var p = target.parentNode;
503 return touchId != null ? d3.touches(p).filter(function(p) {
504 return p.identifier === touchId;
505 })[0] : d3.mouse(p);
506 }
507 function dragmove() {
508 if (!target.parentNode) return dragend();
509 var p = point(), dx = p[0] - origin_[0], dy = p[1] - origin_[1];

Callers 3

mousedownFunction · 0.85
dragmoveFunction · 0.85
translateToFunction · 0.85

Calls 1

visibleFunction · 0.85

Tested by

no test coverage detected