Skip to content

Commit

Permalink
Merge pull request alexbrillant#147 from devdev-dev/master
Browse files Browse the repository at this point in the history
Remove console logging from the component to avoid unnecessary output. Resolves alexbrillant#146
  • Loading branch information
alexbrillant authored Apr 10, 2018
2 parents 8a4a5da + 1091e72 commit f68e513
Showing 1 changed file with 9 additions and 27 deletions.
36 changes: 9 additions & 27 deletions Swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -888,33 +888,15 @@ Swiper.defaultProps = {
inputRotationRange: [-width / 2, 0, width / 2],
marginBottom: 0,
marginTop: 0,
onSwiping: () => {
console.log('swiped')
},
onSwipedAborted: () => {
console.log('onSwipeAborted')
},
onSwiped: cardIndex => {
console.log(cardIndex)
},
onSwipedLeft: cardIndex => {
console.log('onSwipedLeft')
},
onSwipedRight: cardIndex => {
console.log('onSwipedRight')
},
onSwipedTop: cardIndex => {
console.log('onSwipedTop')
},
onSwipedBottom: cardIndex => {
console.log('onSwipedBottom')
},
onSwipedAll: () => {
console.log('onSwipedAll')
},
onTapCard: (cardIndex) => {
console.log('Tapped card at ' + cardIndex)
},
onSwiping: () => {},
onSwipedAborted: () => {},
onSwiped: cardIndex => {},
onSwipedLeft: cardIndex => {},
onSwipedRight: cardIndex => {},
onSwipedTop: cardIndex => {},
onSwipedBottom: cardIndex => {},
onSwipedAll: () => {},
onTapCard: (cardIndex) => {},
onTapCardDeadZone: 5,
outputCardOpacityRangeX: [0.8, 1, 1, 1, 0.8],
outputCardOpacityRangeY: [0.8, 1, 1, 1, 0.8],
Expand Down

0 comments on commit f68e513

Please sign in to comment.