MCPcopy Create free account
hub / github.com/alignoth/alignoth / mapLayerOrUnit

Method mapLayerOrUnit

resources/vega-lite.min.js:5335–5342  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

5333 );
5334 }
5335 mapLayerOrUnit(e, t) {
5336 if ((e = Hl(e, t)).encoding) {
5337 const n = {};
5338 for (const [i, r] of O(e.encoding)) n[i] = Gl(r, t);
5339 e = { ...e, encoding: n };
5340 }
5341 return super.mapLayerOrUnit(e, t);
5342 }
5343 mapUnit(e, t) {
5344 const { selection: n, ...i } = e;
5345 return n

Callers 1

mapLayerRepeatMethod · 0.45

Calls 3

HlFunction · 0.70
OFunction · 0.70
GlFunction · 0.70

Tested by

no test coverage detected