Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
muNames.forEach((possibleMuName)=>{
clearRequirejsCache(this, possibleMuName);
});
clearRequirejsCache(this, name);
clearRequirejs(name) {
const cacheKey = this.get('iterationId') + '/' + name;
if (REQUIRE_CLEAR_CACHE.includes(cacheKey)) {
return;
}
const muNames = this.getPossibleMUComponentNames(name);
muNames.forEach((possibleMuName)=>{
clearRequirejsCache(this, possibleMuName);
});
clearRequirejsCache(this, name);
REQUIRE_CLEAR_CACHE.push(cacheKey);
},
addDynamicHelperWrapperComponent(name) {