]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: comments
authorEvan You <yyx990803@gmail.com>
Mon, 3 Jun 2019 11:59:15 +0000 (19:59 +0800)
committerEvan You <yyx990803@gmail.com>
Mon, 3 Jun 2019 11:59:15 +0000 (19:59 +0800)
packages/runtime-core/src/componentSlots.ts

index bdc206d2cdcf5f01b521535384a4d8ee6ad3a1b3..32f71e7b2bad2d46b2db28d652160917bc8684a5 100644 (file)
@@ -25,8 +25,8 @@ export function resolveSlots(
 ) {
   let slots: Slots | void
   if (instance.vnode.shapeFlag & SLOTS_CHILDREN) {
-    // pre-normalized slots object generated by compiler
     if ((children as any)._normalized) {
+      // pre-normalized slots object generated by compiler
       slots = children as Slots
     } else {
       slots = {}