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

Function getRawData

_benchmarks/sample_echarts.js:21315–21329  ·  view source on GitHub ↗
(upstream)

Source from the content-addressed store, hash-verified

21313 }
21314
21315 function getRawData(upstream) {
21316 var sourceFormat = upstream.sourceFormat;
21317
21318 if (!isSupportedSourceFormat(sourceFormat)) {
21319 var errMsg = '';
21320
21321 if ("development" !== 'production') {
21322 errMsg = '`getRawData` is not supported in source format ' + sourceFormat;
21323 }
21324
21325 throwError(errMsg);
21326 }
21327
21328 return upstream.data;
21329 }
21330
21331 function cloneRawData(upstream) {
21332 var sourceFormat = upstream.sourceFormat;

Callers

nothing calls this directly

Calls 2

isSupportedSourceFormatFunction · 0.85
throwErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…