mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
chore(): remove console.logs
This commit is contained in:
@ -50,14 +50,12 @@ export class AlertController {
|
||||
|
||||
@Listen('body:ionAlertWillPresent')
|
||||
protected willPresent(event: AlertEvent) {
|
||||
console.log('willPresent: ', event);
|
||||
this.alerts.push(event.target as HTMLIonAlertElement);
|
||||
}
|
||||
|
||||
@Listen('body:ionAlertWillDismiss')
|
||||
@Listen('body:ionAlertDidUnload')
|
||||
protected willDismiss(event: AlertEvent) {
|
||||
console.log('willDismiss: ', event);
|
||||
const index = this.alerts.indexOf(event.target as HTMLIonAlertElement);
|
||||
if (index > -1) {
|
||||
this.alerts.splice(index, 1);
|
||||
|
@ -145,6 +145,5 @@ export function handleBackButtonClick(): Promise<any> {
|
||||
const promise = menuControllerElement ? isReady(menuControllerElement) : Promise.resolve();
|
||||
return promise.then(() => {
|
||||
// TODO check if the menu is open, close it if so
|
||||
console.log('todo');
|
||||
});
|
||||
}
|
||||
|
@ -23,8 +23,6 @@ export class Navbar {
|
||||
backButtonClick(ev: UIEvent) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
|
||||
console.log('back button click');
|
||||
}
|
||||
|
||||
componentDidLoad() {
|
||||
|
@ -49,7 +49,6 @@ export class SegmentButton {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
|
||||
console.log('in segment button click');
|
||||
this.emitClick();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user