MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / transferProperties

Function transferProperties

libs/echarts/echarts.simple.js:30077–30091  ·  view source on GitHub ↗
(target, source)

Source from the content-addressed store, hash-verified

30075];
30076
30077function transferProperties(target, source) {
30078 each$1(TRANSFERABLE_PROPERTIES.concat(source.__wrappedMethods || []), function (propName) {
30079 if (source.hasOwnProperty(propName)) {
30080 target[propName] = source[propName];
30081 }
30082 });
30083
30084 target.__wrappedMethods = source.__wrappedMethods;
30085
30086 each$1(CLONE_PROPERTIES, function (propName) {
30087 target[propName] = clone(source[propName]);
30088 });
30089
30090 target._calculationInfo = extend(source._calculationInfo);
30091}
30092
30093
30094

Callers 2

cloneListForMapAndSampleFunction · 0.70
echarts.simple.jsFile · 0.70

Calls 3

each$1Function · 0.70
cloneFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected