Revert "NavController popTo takes componentType"

This reverts commit 63aebf8ba8.
This commit is contained in:
Adam Bradley
2015-10-09 00:18:02 -05:00
parent b0bc991456
commit 8f1a0b40f9
2 changed files with 8 additions and 27 deletions

View File

@@ -105,7 +105,6 @@ class SecondPage {
<button id="from3To2" (click)="pop()">Pop (Go back to 2nd)</button>
<button id="insert" (click)="insert()">Insert first page into history before this</button>
<button id="remove" (click)="removeSecond()">Remove second page in history</button>
<button id="popto" (click)="popTo()">popTo FirstPage</button>
</p>
<div class="yellow"><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f></div>
</ion-content>
@@ -130,10 +129,6 @@ class ThirdPage {
this.nav.remove(1);
}
popTo() {
this.nav.popTo(FirstPage);
}
}