From d95ab8e88d224ed9d0b12d94e3b8d9a046a6a9f8 Mon Sep 17 00:00:00 2001 From: numb86 <86numb@gmail.com> Date: Fri, 7 Dec 2018 22:48:54 +0900 Subject: [PATCH] docs: Use classes instead of hasClass. --- docs/api/wrapper-array/filter.md | 2 +- docs/ja/api/wrapper-array/filter.md | 2 +- docs/ru/api/wrapper-array/filter.md | 2 +- docs/zh/api/wrapper-array/filter.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/wrapper-array/filter.md b/docs/api/wrapper-array/filter.md index 941ec6713..e3e8f163c 100644 --- a/docs/api/wrapper-array/filter.md +++ b/docs/api/wrapper-array/filter.md @@ -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')) ``` diff --git a/docs/ja/api/wrapper-array/filter.md b/docs/ja/api/wrapper-array/filter.md index 739ef055b..b55dd34b4 100644 --- a/docs/ja/api/wrapper-array/filter.md +++ b/docs/ja/api/wrapper-array/filter.md @@ -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')) ``` diff --git a/docs/ru/api/wrapper-array/filter.md b/docs/ru/api/wrapper-array/filter.md index 5b85a4459..cba2ba533 100644 --- a/docs/ru/api/wrapper-array/filter.md +++ b/docs/ru/api/wrapper-array/filter.md @@ -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')) ``` \ No newline at end of file diff --git a/docs/zh/api/wrapper-array/filter.md b/docs/zh/api/wrapper-array/filter.md index 2857b7088..c0c0b6503 100644 --- a/docs/zh/api/wrapper-array/filter.md +++ b/docs/zh/api/wrapper-array/filter.md @@ -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')) ```