MCPcopy
hub / github.com/tdewolff/minify / getAnimatableProps

Function getAnimatableProps

_benchmarks/sample_echarts.js:14598–14610  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

14596 }
14597
14598 function getAnimatableProps(el) {
14599 var obj = {
14600 x: el.x,
14601 y: el.y,
14602 rotation: el.rotation
14603 };
14604
14605 if (isPath(el)) {
14606 obj.shape = extend({}, el.shape);
14607 }
14608
14609 return obj;
14610 }
14611
14612 var elMap1 = getElMap(g1);
14613 g2.traverse(function (el) {

Callers 1

groupTransitionFunction · 0.85

Calls 2

isPathFunction · 0.85
extendFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…