chore: comments grammar (#4913) [ci skip]

This commit is contained in:
yuchao 2021-11-15 11:41:45 +11:00 committed by GitHub
parent d19cfc0503
commit f454dd62ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2463,8 +2463,8 @@ export function invokeVNodeHook(
* *
* #2080 * #2080
* Inside keyed `template` fragment static children, if a fragment is moved, * Inside keyed `template` fragment static children, if a fragment is moved,
* the children will always moved so that need inherit el form previous nodes * the children will always be moved. Therefore, in order to ensure correct move
* to ensure correct moved position. * position, el should be inherited from previous nodes.
*/ */
export function traverseStaticChildren(n1: VNode, n2: VNode, shallow = false) { export function traverseStaticChildren(n1: VNode, n2: VNode, shallow = false) {
const ch1 = n1.children const ch1 = n1.children