docs(modal-controller): use const instead of let (#12971)

This commit is contained in:
Daniel Sogl
2017-09-26 03:26:39 +02:00
committed by Ken Sodemann
parent 3b5c34c801
commit 288c00a641

View File

@@ -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();
* }
*