Explorar o código

Update comment for clarity

Kevin Batdorf %!s(int64=4) %!d(string=hai) anos
pai
achega
6da2250824
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.