From 0bede54b2de0f3014a16fd59803858a3ac38b2f6 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Sun, 18 Mar 2018 13:18:54 -0700 Subject: [PATCH] style: fix formatting issues on the master branch (#22854) PR Close #22854 --- packages/core/src/render3/component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/render3/component.ts b/packages/core/src/render3/component.ts index c2cceba0c1..00550faa80 100644 --- a/packages/core/src/render3/component.ts +++ b/packages/core/src/render3/component.ts @@ -136,7 +136,8 @@ export function renderComponent( // 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,