Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 62e9b45

Browse files
committed
chore: Cleanup examples
1 parent 22df352 commit 62e9b45

File tree

7 files changed

+5
-12
lines changed

7 files changed

+5
-12
lines changed

‎src/__tests__/components/Button.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ export default {
1010
default: 'Button Text',
1111
},
1212
},
13+
emits: {click: null},
1314
methods: {
14-
handleClick(e) {
15+
handleClick(_e) {
1516
this.$emit('click')
1617
},
1718
},

‎src/__tests__/components/Collapsible.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default {
1515
}
1616
},
1717
methods: {
18-
handleClick(e) {
18+
handleClick(_) {
1919
this.displayElement = !this.displayElement
2020
},
2121
},

‎src/__tests__/components/Form.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141

4242
<script>
4343
export default {
44+
emits: {submit: null},
4445
data() {
4546
return {
4647
title: '',
@@ -49,13 +50,11 @@ export default {
4950
recommend: false,
5051
}
5152
},
52-
5353
computed: {
5454
submitDisabled() {
5555
return !this.title || !this.review
5656
},
5757
},
58-
5958
methods: {
6059
submit() {
6160
if (this.submitDisabled) return

‎src/__tests__/components/FunctionalSFC.vue

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎src/__tests__/components/Stubs.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import Directive from './Directive'
77
88
export default {
99
name: 'Stubs',
10-
1110
components: {
1211
Directive,
1312
},

‎src/__tests__/components/TextMatchers.vue

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎src/__tests__/components/Vuetify.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</v-card>
99
</v-dialog>
1010
<v-menu bottom offset-y>
11-
<template v-slot:activator="{on}">
11+
<template #activator="{on}">
1212
<v-btn icon v-on="on">open menu</v-btn>
1313
</template>
1414
<v-list>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /