MCPcopy
hub / github.com/microsoft/SandDance / _loop_1

Function _loop_1

docs/app/js/sanddance-app.js:22432–22441  ·  view source on GitHub ↗
(subCompProp)

Source from the content-addressed store, hash-verified

22430 mergedSet.subComponentStyles = {};
22431 var mergedSubStyles = mergedSet.subComponentStyles;
22432 var _loop_1 = function(subCompProp) {
22433 if (workingSubcomponentStyles.hasOwnProperty(subCompProp)) {
22434 var workingSet_1 = workingSubcomponentStyles[subCompProp];
22435 mergedSubStyles[subCompProp] = function(styleProps) {
22436 return concatStyleSets.apply(void 0, workingSet_1.map(function(styleFunctionOrObject) {
22437 return typeof styleFunctionOrObject === "function" ? styleFunctionOrObject(styleProps) : styleFunctionOrObject;
22438 }));
22439 };
22440 }
22441 };
22442 // now we process the subcomponent styles if there are any
22443 for(var subCompProp1 in workingSubcomponentStyles)_loop_1(subCompProp1);
22444 }

Callers 5

concatStyleSetsFunction · 0.85
hoistMethodsFunction · 0.85
buildClassMapFunction · 0.85
unregisterIconsFunction · 0.85
sanddance-app.jsFile · 0.85

Calls 5

normalizeIconNameFunction · 0.85
_mergeRectFunction · 0.85
toStringMethod · 0.45
forEachMethod · 0.45
minMethod · 0.45

Tested by

no test coverage detected