Muzaffer Dede 5 سال پیش
والد
کامیت
9552e32f63
4فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 3 3
      dist/alpine-ie11.js
  2. 3 3
      dist/alpine.js
  3. 2 2
      src/directives/show.js
  4. 1 1
      src/utils.js

+ 3 - 3
dist/alpine-ie11.js

@@ -5922,7 +5922,7 @@
 
         _newArrowCheck(this, _this14);
 
-        stages.end(); // Asign current transition to el in case we need to force it
+        stages.end(); // Assign current transition to el in case we need to force it
 
         el.__x_transition_remaining = once(function () {
           _newArrowCheck(this, _this15);
@@ -6277,7 +6277,7 @@
     }.bind(this);
 
     if (initialUpdate === true) {
-      // Asign current value to el to check later on for preventing transition overlaps
+      // Assign current value to el to check later on for preventing transition overlaps
       el.__x_transition_last_value = value;
 
       if (value) {
@@ -6321,7 +6321,7 @@
             _newArrowCheck(this, _this2);
           }.bind(this));
         }
-      } // Asign current value to el
+      } // Assign current value to el
 
 
       el.__x_transition_last_value = value;

+ 3 - 3
dist/alpine.js

@@ -405,7 +405,7 @@
 
       stages.show();
       requestAnimationFrame(() => {
-        stages.end(); // Asign current transition to el in case we need to force it
+        stages.end(); // Assign current transition to el in case we need to force it
 
         el.__x_transition_remaining = once(() => {
           stages.hide(); // Adding an "isConnected" check, in case the callback
@@ -672,7 +672,7 @@
     };
 
     if (initialUpdate === true) {
-      // Asign current value to el to check later on for preventing transition overlaps
+      // Assign current value to el to check later on for preventing transition overlaps
       el.__x_transition_last_value = value;
 
       if (value) {
@@ -700,7 +700,7 @@
         } else {
           resolve(() => {});
         }
-      } // Asign current value to el
+      } // Assign current value to el
 
 
       el.__x_transition_last_value = value;

+ 2 - 2
src/directives/show.js

@@ -19,7 +19,7 @@ export function handleShowDirective(component, el, value, modifiers, initialUpda
     }
 
     if (initialUpdate === true) {
-        // Asign current value to el to check later on for preventing transition overlaps
+        // Assign current value to el to check later on for preventing transition overlaps
         el.__x_transition_last_value = value
 
         if (value) {
@@ -48,7 +48,7 @@ export function handleShowDirective(component, el, value, modifiers, initialUpda
             }
         }
 
-        // Asign current value to el
+        // Assign current value to el
         el.__x_transition_last_value = value
     }
 

+ 1 - 1
src/utils.js

@@ -398,7 +398,7 @@ export function transition(el, stages) {
         requestAnimationFrame(() => {
             stages.end()
 
-            // Asign current transition to el in case we need to force it
+            // Assign current transition to el in case we need to force it
             el.__x_transition_remaining = once(() => {
                 stages.hide()