]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: comment initial space (#3192) [skip ci]
authorxiejiahe <xjh22222228@gmail.com>
Mon, 8 Feb 2021 11:32:12 +0000 (19:32 +0800)
committerGitHub <noreply@github.com>
Mon, 8 Feb 2021 11:32:12 +0000 (12:32 +0100)
fix(typo): Comment add spaces.

packages/compiler-core/src/parse.ts

index bc1d55eade7453924ae908b63bdd25c2dfa2b8db..d57ca77a03eb0cc5eafb6ab54a85670fb1c3c911 100644 (file)
@@ -924,7 +924,7 @@ function isEnd(
   switch (mode) {
     case TextModes.DATA:
       if (startsWith(s, '</')) {
-        //TODO: probably bad performance
+        // TODO: probably bad performance
         for (let i = ancestors.length - 1; i >= 0; --i) {
           if (startsWithEndTagOpen(s, ancestors[i].tag)) {
             return true