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

Function getRawSourceItemGetter

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

Source from the content-addressed store, hash-verified

20295 return item;
20296 }, _a[SOURCE_FORMAT_ORIGINAL] = getItemSimply, _a);
20297 function getRawSourceItemGetter(sourceFormat, seriesLayoutBy) {
20298 var method = rawSourceItemGetterMap[getMethodMapKey(sourceFormat, seriesLayoutBy)];
20299
20300 if ("development" !== 'production') {
20301 assert(method, 'Do not suppport get item on "' + sourceFormat + '", "' + seriesLayoutBy + '".');
20302 }
20303
20304 return method;
20305 }
20306
20307 var countSimply = function (rawData, startIndex, dimsDef) {
20308 return rawData.length;

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…