[Framework] Change cardinality of custom registrars
Change cardinality of custom registrars from one to many; this will permit treating the service compositor as a custom registrar. WTD-518.
This commit is contained in:
@@ -91,7 +91,7 @@ define(
|
||||
// code for services, directives, etc; otherwise,
|
||||
// just register them under generic names.
|
||||
if (customRegistrars[category]) {
|
||||
extensions.forEach(customRegistrars[category]);
|
||||
customRegistrars[category](extensions);
|
||||
} else {
|
||||
extensions.forEach(registerExtension);
|
||||
registerExtensionArraysForCategory(category, names);
|
||||
|
||||
Reference in New Issue
Block a user