MCPcopy Create free account
hub / github.com/DanWahlin/CustomerManagerStandard / __extend

Function __extend

CustomerManager/Scripts/breeze.debug.js:124–138  ·  view source on GitHub ↗
(target, source, propNames)

Source from the content-addressed store, hash-verified

122 }
123
124 function __extend(target, source, propNames) {
125 if (!source) return target;
126 if (propNames) {
127 propNames.forEach(function (propName) {
128 target[propName] = source[propName];
129 });
130 } else {
131 for (var propName in source) {
132 if (__hasOwnProperty(source, propName)) {
133 target[propName] = source[propName];
134 }
135 }
136 }
137 return target;
138 }
139
140
141 function __updateWithDefaults(target, defaults) {

Callers 9

breeze.debug.jsFile · 0.85
ctorFunction · 0.85
makeComplexArrayFunction · 0.85
makePrimitiveArrayFunction · 0.85
makeRelationArrayFunction · 0.85
parseFnExprFunction · 0.85
cloneFunction · 0.85
createEntityErrorsFunction · 0.85
processServerErrorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected