mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
chore(build): remove console.debug from prod
remove console.debug from prod
This commit is contained in:
@ -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 {
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user