From d46b3e8e9f9fe9b079fc360ac7251a2df9b94585 Mon Sep 17 00:00:00 2001 From: Josep Sayol Date: Wed, 11 Jan 2017 22:23:18 +0100 Subject: [PATCH] docs(nav): fix typos in comments for NavControllerBase and ViewController (#9953) * docs(nav): fix typo * docs(view): fix typo --- src/navigation/nav-controller-base.ts | 2 +- src/navigation/view-controller.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/navigation/nav-controller-base.ts b/src/navigation/nav-controller-base.ts index c89e5daeef..894394add0 100644 --- a/src/navigation/nav-controller-base.ts +++ b/src/navigation/nav-controller-base.ts @@ -686,7 +686,7 @@ export class NavControllerBase extends Ion implements NavController { _viewsWillLifecycles(enteringView: ViewController, leavingView: ViewController) { if (enteringView || leavingView) { this._zone.run(() => { - // Here, the order is important. WillLeave must called before WillEnter. + // Here, the order is important. WillLeave must be called before WillEnter. leavingView && this._willLeave(leavingView, !enteringView); enteringView && this._willEnter(enteringView); }); diff --git a/src/navigation/view-controller.ts b/src/navigation/view-controller.ts index 4c852033ca..91d39a0d07 100644 --- a/src/navigation/view-controller.ts +++ b/src/navigation/view-controller.ts @@ -463,7 +463,7 @@ export class ViewController { /** * @private - * The view has is about to leave and no longer be the active view. + * The view is about to leave and no longer be the active view. */ _willLeave(willUnload: boolean) { this.willLeave.emit(null);