Skip to content

Commit

Permalink
chore: comments grammar (#4913) [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwu9145 committed Nov 15, 2021
1 parent d19cfc0 commit f454dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime-core/src/renderer.ts
Expand Up @@ -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
Expand Down

0 comments on commit f454dd6

Please sign in to comment.