Skip to content

Commit

Permalink
chore: Cleanup examples
Browse files Browse the repository at this point in the history
  • Loading branch information
afontcu committed Dec 9, 2020
1 parent 22df352 commit 62e9b45
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 12 deletions.
3 changes: 2 additions & 1 deletion src/__tests__/components/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ export default {
default: 'Button Text',
},
},
emits: {click: null},
methods: {
handleClick(e) {
handleClick(_e) {
this.$emit('click')
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/components/Collapsible.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default {
}
},
methods: {
handleClick(e) {
handleClick(_) {
this.displayElement = !this.displayElement
},
},
Expand Down
3 changes: 1 addition & 2 deletions src/__tests__/components/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

<script>
export default {
emits: {submit: null},
data() {
return {
title: '',
Expand All @@ -49,13 +50,11 @@ export default {
recommend: false,
}
},
computed: {
submitDisabled() {
return !this.title || !this.review
},
},
methods: {
submit() {
if (this.submitDisabled) return
Expand Down
3 changes: 0 additions & 3 deletions src/__tests__/components/FunctionalSFC.vue

This file was deleted.

1 change: 0 additions & 1 deletion src/__tests__/components/Stubs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Directive from './Directive'
export default {
name: 'Stubs',
components: {
Directive,
},
Expand Down
3 changes: 0 additions & 3 deletions src/__tests__/components/TextMatchers.vue

This file was deleted.

2 changes: 1 addition & 1 deletion src/__tests__/components/Vuetify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</v-card>
</v-dialog>
<v-menu bottom offset-y>
<template v-slot:activator="{on}">
<template #activator="{on}">
<v-btn icon v-on="on">open menu</v-btn>
</template>
<v-list>
Expand Down

0 comments on commit 62e9b45

Please sign in to comment.