diff --git a/src/components/modal/modal-controller.ts b/src/components/modal/modal-controller.ts index 97cfe63275..e769760acc 100644 --- a/src/components/modal/modal-controller.ts +++ b/src/components/modal/modal-controller.ts @@ -38,12 +38,10 @@ import { DeepLinker } from '../../navigation/deep-linker'; * @Component(...) * class HomePage { * - * constructor(public modalCtrl: ModalController) { - * - * } + * constructor(public modalCtrl: ModalController) { } * * presentProfileModal() { - * let profileModal = this.modalCtrl.create(Profile, { userId: 8675309 }); + * const profileModal = this.modalCtrl.create(Profile, { userId: 8675309 }); * profileModal.present(); * } *