]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(custom-element): fix comment typo (#5028) [skip ci]
authorn2ptune <44240708+n2ptune@users.noreply.github.com>
Fri, 3 Dec 2021 09:10:54 +0000 (18:10 +0900)
committerGitHub <noreply@github.com>
Fri, 3 Dec 2021 09:10:54 +0000 (10:10 +0100)
packages/runtime-dom/src/apiCustomElement.ts

index 5127e4a47f543b4e3b6005c0ee3b6cef6670f62f..059fcac16f1a04495327c3fa43b62956d2565f93 100644 (file)
@@ -321,7 +321,7 @@ export class VueElement extends BaseClass {
         // HMR
         if (__DEV__) {
           instance.ceReload = newStyles => {
-            // alawys reset styles
+            // always reset styles
             if (this._styles) {
               this._styles.forEach(s => this.shadowRoot!.removeChild(s))
               this._styles.length = 0