浏览代码

Fixing typos (#3217)

Andreas Deininger 2 年之前
父节点
当前提交
eb155aecc0
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      packages/docs/src/en/directives/on.md
  2. 1 1
      packages/docs/src/en/plugins/mask.md
  3. 1 1
      packages/mask/src/index.js

+ 1 - 1
packages/docs/src/en/directives/on.md

@@ -89,7 +89,7 @@ For easy reference, here is a list of common keys you may want to listen for.
 | `.caps-lock`                | Caps Lock                   |
 | `.caps-lock`                | Caps Lock                   |
 | `.equal`                    | Equal, `=`                  |
 | `.equal`                    | Equal, `=`                  |
 | `.period`                   | Period, `.`                 |
 | `.period`                   | Period, `.`                 |
-| `.slash`                    | Foward Slash, `/`           |
+| `.slash`                    | Forward Slash, `/`           |
 
 
 <a name="custom-events"></a>
 <a name="custom-events"></a>
 ## Custom events
 ## Custom events

+ 1 - 1
packages/docs/src/en/plugins/mask.md

@@ -113,7 +113,7 @@ Try it for yourself by typing a number that starts with "34" and one that doesn'
 </div>
 </div>
 <!-- END_VERBATIM -->
 <!-- END_VERBATIM -->
 
 
-`x-mask:dynamic` also accepts a function as a result of the expression and will automatically pass it the `$input` as the the first paramter. For example:
+`x-mask:dynamic` also accepts a function as a result of the expression and will automatically pass it the `$input` as the the first parameter. For example:
 
 
 ```alpine
 ```alpine
 <input x-mask:dynamic="creditCardMask">
 <input x-mask:dynamic="creditCardMask">

+ 1 - 1
packages/mask/src/index.js

@@ -31,7 +31,7 @@ export default function (Alpine) {
                 // Run on initialize which serves a dual purpose:
                 // Run on initialize which serves a dual purpose:
                 // - Initializing the mask on the input if it has an initial value.
                 // - Initializing the mask on the input if it has an initial value.
                 // - Running the template function to set up reactivity, so that
                 // - Running the template function to set up reactivity, so that
-                //   when a dependancy inside it changes, the input re-masks.
+                //   when a dependency inside it changes, the input re-masks.
                 processInputValue(el)
                 processInputValue(el)
             })
             })
         } else {
         } else {