From a2e1281e9dad48276e5da71d1395bf6111a14c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merve=20=C3=96z=C3=A7if=C3=A7i?= Date: Tue, 8 Oct 2019 15:06:22 +0300 Subject: [PATCH] removed comment line --- src/components/carousel/Carousel.vue | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/components/carousel/Carousel.vue b/src/components/carousel/Carousel.vue index ef4a70861..61fc3cebb 100644 --- a/src/components/carousel/Carousel.vue +++ b/src/components/carousel/Carousel.vue @@ -130,7 +130,6 @@ export default { this.totalShiftedItems = totalShiftedItems; - //this.$emit('page-change', {originalEvent: event, index}); this.$emit('update:activeIndex', index); this.d_activeIndex = index; }, @@ -154,12 +153,9 @@ export default { let activeIndex = this.d_activeIndex; activeIndex = parseInt((activeIndex * this.d_numScroll) / matchedResponsiveData.numScroll); - //let totalShiftedItems = (matchedResponsiveData.numScroll * activeIndex) * -1; - this.totalShiftedItems = (matchedResponsiveData.numScroll * activeIndex) * -1; this.d_numScroll = matchedResponsiveData.numScroll; - //this.$emit('page-change', {originalEvent: event, activeIndex}); this.$emit('update:activeIndex', activeIndex); this.d_activeIndex = activeIndex; } @@ -167,10 +163,6 @@ export default { if (this.d_numVisible !== matchedResponsiveData.numVisible) { this.d_numVisible = matchedResponsiveData.numVisible; } - - /*if (Object.keys(state).length) { - this.setState(state); - }*/ } }, navBackward(e,index){