Skip to content

Commit 2b8c49e

Browse files
committed
chore: canonical naming
1 parent 0fc9493 commit 2b8c49e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

vue-transformations/transition-group-root.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function fix(node: any): Operation[] {
5656
let fixOperations: Operation[] = []
5757

5858
// The current node has no attribute that is v-for
59-
let havaTagAttr: boolean = false
59+
let hasTagAttr: boolean = false
6060
node.startTag.attributes
6161
.filter(
6262
(attr: any) =>
@@ -65,9 +65,9 @@ function fix(node: any): Operation[] {
6565
attr.key.name === 'tag'
6666
)
6767
.forEach((element: any) => {
68-
havaTagAttr = true
68+
hasTagAttr = true
6969
})
70-
if (havaTagAttr) {
70+
if (hasTagAttr) {
7171
return fixOperations
7272
}
7373

vue-transformations/v-else-if-key.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function fix(node: any): Operation[] {
6161
const target: any = node!.parent!.parent
6262

6363
// The current node has no attribute that is v-for
64-
let havaBrotherAttr: boolean = false
64+
let hasTargetAttr: boolean = false
6565
target.startTag.attributes
6666
.filter(
6767
(attr: any) =>
@@ -72,9 +72,9 @@ function fix(node: any): Operation[] {
7272
attr.key.name.name === 'else')
7373
)
7474
.forEach((element: any) => {
75-
havaBrotherAttr = true
75+
hasTargetAttr = true
7676
})
77-
if (!havaBrotherAttr) {
77+
if (!hasTargetAttr) {
7878
return fixOperations
7979
}
8080

0 commit comments

Comments
 (0)