MCPcopy Index your code
hub / github.com/microsoft/SandDance / clearStylesInternal

Function clearStylesInternal

docs/app/js/sanddance-app.js:27148–27153  ·  view source on GitHub ↗
(records)

Source from the content-addressed store, hash-verified

27146 }
27147}
27148function clearStylesInternal(records) {
27149 records.forEach(function(styleRecord) {
27150 var styleElement = styleRecord && styleRecord.styleElement;
27151 if (styleElement && styleElement.parentElement) styleElement.parentElement.removeChild(styleElement);
27152 });
27153}
27154/**
27155 * Reloads styles.
27156 */ function reloadStyles() {

Callers 1

clearStylesFunction · 0.85

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected