Caleb Porzio преди 4 години
родител
ревизия
9dd1afc585
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      packages/alpinejs/src/directives/x-for.js

+ 1 - 2
packages/alpinejs/src/directives/x-for.js

@@ -158,8 +158,7 @@ function loop(el, iteratorNames, evaluateItems, evaluateKey) {
             refreshScope(elForSpot, scopes[keys.indexOf(keyForSpot)])
         }
 
-        // We can now create and add new elements. They will get picked up
-        // by the mutation observer and get initialized by Alpine.
+        // We can now create and add new elements.
         for (let i = 0; i < adds.length; i++) {
             let [lastKey, index] = adds[i]