From 21ea87cd61fc551de4bfb97185f5990436d64619 Mon Sep 17 00:00:00 2001 From: Yury Zhuravlev Date: Fri, 19 Oct 2018 13:07:34 +0900 Subject: [PATCH] small fix for if-else code style --- src/compile/render-dom/wrappers/Fragment.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/compile/render-dom/wrappers/Fragment.ts b/src/compile/render-dom/wrappers/Fragment.ts index 066daa2720df..2e4bb633e7ed 100644 --- a/src/compile/render-dom/wrappers/Fragment.ts +++ b/src/compile/render-dom/wrappers/Fragment.ts @@ -99,9 +99,7 @@ export default class FragmentWrapper { this.nodes.unshift(wrapper); link(lastChild, lastChild = wrapper); - } - - else { + } else { const Wrapper = wrappers[child.type]; if (!Wrapper) continue;