소스 검색

Update comment for clarity

Kevin Batdorf 4 년 전
부모
커밋
6da2250824
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/directives/for.js

+ 1 - 1
src/directives/for.js

@@ -111,7 +111,7 @@ function addElementInLoopAfterCurrentEl(templateEl, currentEl) {
 function lookAheadForMatchingKeyedElementAndMoveItIfFound(nextEl, currentKey) {
     if (! nextEl) return
 
-    // If the next El is a sibling template, we don't want it
+    // If the next El is a sibling template tag, we're done.
     if (nextEl.tagName === 'TEMPLATE') return
 
     // If the the key's DO match, no need to look ahead.