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

Function createSourceFromSeriesDataOption

_benchmarks/sample_echarts.js:19810–19815  ·  view source on GitHub ↗

* Wrap original series data for some compatibility cases.

(data)

Source from the content-addressed store, hash-verified

19808 */
19809
19810 function createSourceFromSeriesDataOption(data) {
19811 return new SourceImpl({
19812 data: data,
19813 sourceFormat: isTypedArray(data) ? SOURCE_FORMAT_TYPED_ARRAY : SOURCE_FORMAT_ORIGINAL
19814 });
19815 }
19816 /**
19817 * Clone source but excludes source data.
19818 */

Callers 3

DefaultDataProviderFunction · 0.85
completeDimensionsFunction · 0.85
createListFromArrayFunction · 0.85

Calls 1

isTypedArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…