Skip to content

Commit

Permalink
docs: use classes instead of hasClass. (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
numb86 authored and eddyerburgh committed Dec 7, 2018
1 parent 45e2fe4 commit 9abfda5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/filter.md
Expand Up @@ -19,5 +19,5 @@ import Foo from './Foo.vue'

const wrapper = shallowMount(Foo)
const filteredDivArray = wrapper.findAll('div')
.filter(w => !w.hasClass('filtered'))
.filter(w => !w.classes('filtered'))
```
2 changes: 1 addition & 1 deletion docs/ja/api/wrapper-array/filter.md
Expand Up @@ -19,5 +19,5 @@ import Foo from './Foo.vue'

const wrapper = shallowMount(Foo)
const filteredDivArray = wrapper.findAll('div')
.filter(w => !w.hasClass('filtered'))
.filter(w => !w.classes('filtered'))
```
2 changes: 1 addition & 1 deletion docs/ru/api/wrapper-array/filter.md
Expand Up @@ -19,5 +19,5 @@ import Foo from './Foo.vue'

const wrapper = shallowMount(Foo)
const filteredDivArray = wrapper.findAll('div')
.filter(w => !w.hasClass('filtered'))
.filter(w => !w.classes('filtered'))
```
2 changes: 1 addition & 1 deletion docs/zh/api/wrapper-array/filter.md
Expand Up @@ -19,5 +19,5 @@ import Foo from './Foo.vue'

const wrapper = shallowMount(Foo)
const filteredDivArray = wrapper.findAll('div')
.filter(w => !w.hasClass('filtered'))
.filter(w => !w.classes('filtered'))
```

0 comments on commit 9abfda5

Please sign in to comment.