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

Function mappingInReplaceAllMode

_benchmarks/sample_echarts.js:7486–7497  ·  view source on GitHub ↗
(result, newCmptOptions)

Source from the content-addressed store, hash-verified

7484 }
7485
7486 function mappingInReplaceAllMode(result, newCmptOptions) {
7487 each(newCmptOptions, function (cmptOption) {
7488 // The feature "reproduce" requires "hole" will also reproduced
7489 // in case that compoennt index referring are broken.
7490 result.push({
7491 newOption: cmptOption,
7492 brandNew: true,
7493 existing: null,
7494 keyInfo: null
7495 });
7496 });
7497 }
7498 /**
7499 * Make id and name for mapping result (result of mappingToExists)
7500 * into `keyInfo` field.

Callers 1

mappingToExistsFunction · 0.85

Calls 1

eachFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…