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

Function extend

_benchmarks/sample_echarts.js:276–288  ·  view source on GitHub ↗
(target, source)

Source from the content-addressed store, hash-verified

274 return result;
275 }
276 function extend(target, source) {
277 if (Object.assign) {
278 Object.assign(target, source);
279 }
280 else {
281 for (var key in source) {
282 if (source.hasOwnProperty(key)) {
283 target[key] = source[key];
284 }
285 }
286 }
287 return target;
288 }
289 function defaults(target, source, overlay) {
290 var keysArr = keys(source);
291 for (var i = 0; i < keysArr.length; i++) {

Callers 15

createObjectFunction · 0.70
sample_echarts.jsFile · 0.70
enableClassExtendFunction · 0.70
prepareTruncateOptionsFunction · 0.70
createSelectDefaultStateFunction · 0.70
createBlurDefaultStateFunction · 0.70
createPathOptionsFunction · 0.70
getAnimatablePropsFunction · 0.70
createIconFunction · 0.70
createTextStyleFunction · 0.70
leveledFormatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…