style: fix formatting issues on the master branch (#22854)

PR Close #22854
This commit is contained in:
Igor Minar 2018-03-18 13:18:54 -07:00
parent 243c86cd04
commit 0bede54b2d
1 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,8 @@ export function renderComponent<T>(
// Create element node at index 0 in data array
elementNode = hostElement(hostNode, componentDef);
// Create directive instance with n() and store at index 1 in data array (el is 0)
component = rootContext.component = baseDirectiveCreate(1, componentDef.factory(), componentDef) as T;
component = rootContext.component =
baseDirectiveCreate(1, componentDef.factory(), componentDef) as T;
initChangeDetectorIfExisting(elementNode.nodeInjector, component);
} finally {
// We must not use leaveView here because it will set creationMode to false too early,