MCPcopy Index your code
hub / github.com/tdewolff/minify / getPathData

Function getPathData

_benchmarks/sample_echarts.js:71949–71952  ·  view source on GitHub ↗

* @return SVG Path data.

(shape)

Source from the content-addressed store, hash-verified

71947
71948
71949 function getPathData(shape) {
71950 // "d" follows the SVG convention.
71951 return shape && (shape.pathData || shape.d);
71952 }
71953
71954 function hasOwnPathData(shape) {
71955 return shape && (hasOwn(shape, 'pathData') || hasOwn(shape, 'd'));

Callers 2

createElFunction · 0.70
doesElNeedRecreateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…