From: yuchao Date: Mon, 15 Nov 2021 00:41:45 +0000 (+1100) Subject: chore: comments grammar (#4913) [ci skip] X-Git-Tag: v3.2.22~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f454dd62ab689b348902b01f849ca5347e91ffae;p=thirdparty%2Fvuejs%2Fcore.git chore: comments grammar (#4913) [ci skip] --- diff --git a/packages/runtime-core/src/renderer.ts b/packages/runtime-core/src/renderer.ts index 198a4c8f4f..7cf8b49521 100644 --- a/packages/runtime-core/src/renderer.ts +++ b/packages/runtime-core/src/renderer.ts @@ -2463,8 +2463,8 @@ export function invokeVNodeHook( * * #2080 * Inside keyed `template` fragment static children, if a fragment is moved, - * the children will always moved so that need inherit el form previous nodes - * to ensure correct moved position. + * the children will always be moved. Therefore, in order to ensure correct move + * position, el should be inherited from previous nodes. */ export function traverseStaticChildren(n1: VNode, n2: VNode, shallow = false) { const ch1 = n1.children