libs/core/external-script/src/external-script.service.ts
Function load
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
load(name: string, script: DaffExternalScript): Observable<boolean> {
// Don't load the same script twice.
if(this.scriptMap.has(name)){
return this.scriptMap.get(name).subject;
}