MCPcopy Create free account
hub / github.com/microsoft/SandDance / _objectSpread

Function _objectSpread

docs/app/js/sanddance-app.js:54644–54656  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

54642 return keys;
54643}
54644function _objectSpread(target) {
54645 for(var i = 1; i < arguments.length; i++){
54646 var source = arguments[i] != null ? arguments[i] : {};
54647 if (i % 2) ownKeys(Object(source), true).forEach(function(key) {
54648 (0, _definePropertyDefault.default)(target, key, source[key]);
54649 });
54650 else if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
54651 else ownKeys(Object(source)).forEach(function(key) {
54652 Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
54653 });
54654 }
54655 return target;
54656}
54657var STAT_QUEUED_REQUESTS = "Queued Requests";
54658var STAT_ACTIVE_REQUESTS = "Active Requests";
54659var STAT_CANCELLED_REQUESTS = "Cancelled Requests";

Callers 15

RequestScheduler1Function · 0.70
normalizeLoaderFunction · 0.70
getGlobalLoaderOptionsFunction · 0.70
normalizeOptionsInternalFunction · 0.70
mergeNestedFieldsFunction · 0.70
getLoaderContextFunction · 0.70
_selectLoaderFunction · 0.70
sanddance-app.jsFile · 0.70
resolveShaderAttributeFunction · 0.70
mergeShadersFunction · 0.70
GlobeView1Function · 0.70

Calls 3

ownKeysFunction · 0.70
forEachMethod · 0.45
filterMethod · 0.45

Tested by

no test coverage detected