ソースを参照

Fix some typos (#4134)

Signed-off-by: hongkuang <liurenhong@outlook.com>
HongKuang 1 年間 前
コミット
dfabe12275
3 ファイル変更5 行追加5 行削除
  1. 3 3
      benchmarks/giant.html
  2. 1 1
      packages/ui/src/combobox.js
  3. 1 1
      packages/ui/src/listbox.js

+ 3 - 3
benchmarks/giant.html

@@ -4749,11 +4749,11 @@ Co-authored-by: Caleb Porzio &lt;calebporzio@gmail.com&gt;</pre>
                                                             <code>
             <a title="Fix x layout (#2499)
 
-* rollback &amp; simplfy
+* rollback &amp; simplify
 
 * add tests" data-pjax="true" class="Link--secondary markdown-title" href="/livewire/livewire/commit/bec0a3e7a0857ac5915695df23d32c99f4955a57">Fix x layout (</a><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="808077696" data-permission-text="Title is private" data-url="https://github.com/livewire/livewire/issues/2499" data-hovercard-type="pull_request" data-hovercard-url="/livewire/livewire/pull/2499/hovercard" href="https://github.com/livewire/livewire/pull/2499">#2499</a><a title="Fix x layout (#2499)
 
-* rollback &amp; simplfy
+* rollback &amp; simplify
 
 * add tests" data-pjax="true" class="Link--secondary markdown-title" href="/livewire/livewire/commit/bec0a3e7a0857ac5915695df23d32c99f4955a57">)</a>
         </code>
@@ -4826,7 +4826,7 @@ Co-authored-by: Caleb Porzio &lt;calebporzio@gmail.com&gt;</pre>
                                                     </div>
                                                 </div>
                                                 <div class="Details-content--hidden mt-2">
-                                                    <pre class="color-text-secondary ws-pre-wrap">* rollback &amp; simplfy
+                                                    <pre class="color-text-secondary ws-pre-wrap">* rollback &amp; simplify
 
 * add tests</pre>
                                                 </div>

+ 1 - 1
packages/ui/src/combobox.js

@@ -43,7 +43,7 @@ export default function (Alpine) {
     Alpine.magic('comboboxOption', el => {
         let data = Alpine.$data(el)
 
-        // It's not great depending on the existance of the attribute in the DOM
+        // It's not great depending on the existence of the attribute in the DOM
         // but it's probably the fastest and most reliable at this point...
         let optionEl = Alpine.findClosest(el, i => {
             return i.hasAttribute('x-combobox:option')

+ 1 - 1
packages/ui/src/listbox.js

@@ -48,7 +48,7 @@ export default function (Alpine) {
     Alpine.magic('listboxOption', (el) => {
         let data = Alpine.$data(el)
 
-        // It's not great depending on the existance of the attribute in the DOM
+        // It's not great depending on the existence of the attribute in the DOM
         // but it's probably the fastest and most reliable at this point...
         let optionEl = Alpine.findClosest(el, i => {
             return i.hasAttribute('x-listbox:option')