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

Function getRawSourceDataCounter

_benchmarks/sample_echarts.js:20328–20336  ·  view source on GitHub ↗
(sourceFormat, seriesLayoutBy)

Source from the content-addressed store, hash-verified

20326 return col ? col.length : 0;
20327 }, _b[SOURCE_FORMAT_ORIGINAL] = countSimply, _b);
20328 function getRawSourceDataCounter(sourceFormat, seriesLayoutBy) {
20329 var method = rawSourceDataCounterMap[getMethodMapKey(sourceFormat, seriesLayoutBy)];
20330
20331 if ("development" !== 'production') {
20332 assert(method, 'Do not suppport count on "' + sourceFormat + '", "' + seriesLayoutBy + '".');
20333 }
20334
20335 return method;
20336 }
20337
20338 var getRawValueSimply = function (dataItem, dimIndex, dimName) {
20339 return dimIndex != null ? dataItem[dimIndex] : dataItem;

Callers 2

sample_echarts.jsFile · 0.85
createExternalSourceFunction · 0.85

Calls 2

getMethodMapKeyFunction · 0.85
assertFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…