removed comment line

pull/104/head
Merve Özçifçi 2019-10-08 15:06:22 +03:00
parent a287262560
commit a2e1281e9d
1 changed files with 0 additions and 8 deletions

View File

@ -130,7 +130,6 @@ export default {
this.totalShiftedItems = totalShiftedItems; this.totalShiftedItems = totalShiftedItems;
//this.$emit('page-change', {originalEvent: event, index});
this.$emit('update:activeIndex', index); this.$emit('update:activeIndex', index);
this.d_activeIndex = index; this.d_activeIndex = index;
}, },
@ -154,12 +153,9 @@ export default {
let activeIndex = this.d_activeIndex; let activeIndex = this.d_activeIndex;
activeIndex = parseInt((activeIndex * this.d_numScroll) / matchedResponsiveData.numScroll); activeIndex = parseInt((activeIndex * this.d_numScroll) / matchedResponsiveData.numScroll);
//let totalShiftedItems = (matchedResponsiveData.numScroll * activeIndex) * -1;
this.totalShiftedItems = (matchedResponsiveData.numScroll * activeIndex) * -1; this.totalShiftedItems = (matchedResponsiveData.numScroll * activeIndex) * -1;
this.d_numScroll = matchedResponsiveData.numScroll; this.d_numScroll = matchedResponsiveData.numScroll;
//this.$emit('page-change', {originalEvent: event, activeIndex});
this.$emit('update:activeIndex', activeIndex); this.$emit('update:activeIndex', activeIndex);
this.d_activeIndex = activeIndex; this.d_activeIndex = activeIndex;
} }
@ -167,10 +163,6 @@ export default {
if (this.d_numVisible !== matchedResponsiveData.numVisible) { if (this.d_numVisible !== matchedResponsiveData.numVisible) {
this.d_numVisible = matchedResponsiveData.numVisible; this.d_numVisible = matchedResponsiveData.numVisible;
} }
/*if (Object.keys(state).length) {
this.setState(state);
}*/
} }
}, },
navBackward(e,index){ navBackward(e,index){