chore(build): remove console.debug from prod

remove console.debug from prod
This commit is contained in:
Dan Bucholtz
2016-09-27 15:12:59 -05:00
parent f36b6e2d56
commit f0ac42ef49
2 changed files with 34 additions and 15 deletions

View File

@ -68,17 +68,15 @@ export class MenuContentGesture extends SlideEdgeGesture {
let shouldCompleteLeft = (velocity <= 0)
&& (velocity < -0.2 || slide.delta < -z);
console.debug(
'menu gesture, onSlide', this.menu.side,
'distance', slide.distance,
'delta', slide.delta,
'velocity', velocity,
'min', slide.min,
'max', slide.max,
'shouldCompleteLeft', shouldCompleteLeft,
'shouldCompleteRight', shouldCompleteRight,
'currentStepValue', currentStepValue);
console.debug('menu gesture, onSlide', this.menu.side);
console.debug('distance', slide.distance);
console.debug('delta', slide.delta);
console.debug('velocity', velocity);
console.debug('min', slide.min);
console.debug('max', slide.max);
console.debug('shouldCompleteLeft', shouldCompleteLeft);
console.debug('shouldCompleteRight', shouldCompleteRight);
console.debug('currentStepValue', currentStepValue);
this.menu.swipeEnd(shouldCompleteLeft, shouldCompleteRight, currentStepValue);
}
@ -104,4 +102,3 @@ export class MenuContentGesture extends SlideEdgeGesture {
};
}
}