Răsfoiți Sursa

Merge branch 'main' of github.com:alpinejs/alpine into main

Caleb Porzio 3 ani în urmă
părinte
comite
45ccb16c56

+ 1 - 1
README.md

@@ -15,7 +15,7 @@ You can get everything installed with: `npm install` in the root directory of th
 
 This repo is a "mono-repo" using npm workspaces for managing the packages. Each package has its own folder in the `/packages` directory.
 
-Rather than having to run seperate builds for each package, all package bundles are handled with the same command: `npm run build`
+Rather than having to run separate builds for each package, all package bundles are handled with the same command: `npm run build`
 
 Here's a brief look at each package in this repo:
 

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

@@ -123,7 +123,7 @@ function loop(el, iteratorNames, evaluateItems, evaluateKey) {
         }
 
         // Now that we've done the diffing work, we can apply the mutations
-        // in batches for both seperating types work and optimizing
+        // in batches for both separating types work and optimizing
         // for browser performance.
 
         // We'll remove all the nodes that need to be removed,
@@ -138,7 +138,7 @@ function loop(el, iteratorNames, evaluateItems, evaluateKey) {
             delete lookup[key]
         }
 
-        // Here we'll move elements around, skiping
+        // Here we'll move elements around, skipping
         // mutation observer triggers by using "mutateDom".
         for (let i = 0; i < moves.length; i++) {
             let [keyInSpot, keyForSpot] = moves[i]

+ 1 - 1
packages/alpinejs/src/directives/x-transition.js

@@ -207,7 +207,7 @@ export function transition(el, setFunction, { during, start, end, entering } = {
 
 export function performTransition(el, stages, entering) {
     // All transitions need to be truly "cancellable". Meaning we need to
-    // account for interuptions at ALL stages of the transitions and
+    // account for interruptions at ALL stages of the transitions and
     // immediately run the rest of the transition.
     let interrupted, reachedBefore, reachedEnd
 

+ 1 - 1
packages/docs/src/en/essentials/installation.md

@@ -30,7 +30,7 @@ This is by far the simplest way to get started with Alpine. Include the followin
 
 > Don't forget the "defer" attribute in the `<script>` tag.
 
-Notice the `@v2.x.x` in the provided CDN link. This will pull the latest version of Alpine version 2. For stability in production, it's recommended that you hardcode the latest version in the CDN link.
+Notice the `@3.x.x` in the provided CDN link. This will pull the latest version of Alpine version 3. For stability in production, it's recommended that you hardcode the latest version in the CDN link.
 
 ```html
 <script defer src="https://unpkg.com/alpinejs@3.0.5/dist/cdn.min.js"></script>